Nothing Special   »   [go: up one dir, main page]

NX700-UM012A-EN-P-MWLink NSERIES

Download as pdf or txt
Download as pdf or txt
You are on page 1of 102

SM

Maximum Value for OEMs

NX70/700 MWLINK
(NX70-MWLINK, NX-MWLINK)

User Manual
Important User Information
Solid state equipment has operational characteristics differing from those of
electromechanical equipment. Because of these differences, and also because
of the wide variety of uses for solid state equipment, all persons responsible
for applying this equipment must satisfy themselves that each intended
application of this equipment is acceptable.
In no event will OE MAX Controls be responsible or liable for indirect or
consequential damages resulting from the use or application of this
equipment.
The examples and diagrams in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with
any particular installation, OE MAX Controls cannot assume responsibility or
liability for actual use based on the examples and diagrams.
No patent liability is assumed by OE MAX Controls with respect to use of
information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without
written permission of OE MAX Controls is prohibited.
Throughout this manual, when necessary we use notes to make you aware of
safety considerations.

WARNING Identifies information about practices or circumstances


which may lead to serious personal injury or death, property
damage, or economic loss.

Identifies information that is critical for successful


IMPORTANT
application and understanding of the product.

ATTENTION Identifies information about practices or circumstances that


can lead to minor personal injury, property damage,
economic loss, or product malfunction. However, depending
on the situation, failure to follow the directions
accompanying this symbol may also lead to serious
consequences.
Contents

1. System Configuration and Specifications.................. 9


MW-LiNk Unit Features.................................................................................. 9
MW-LiNk Unit Specifications ...................................................................... 13
Restrictions on MW-LiNk Unit Configuration ............................................ 15
Checkpoints for MW-LiNk Unit Configuration ........................................... 16
External Diagram and Functions................................................................. 17
Mode Setting Switch Configuration ........................................................... 20
Network Wiring ............................................................................................ 23
MW-Link System Installation and Start-up ................................................ 24
Communication Functions and Operation Mode Setting ......................... 26

2. Operation in W-Mode................................................ 27
W-Mode Functions ....................................................................................... 27
PLC Link Communication ............................................................................ 29
Data Transmission ....................................................................................... 40
Remote Programming ................................................................................. 55
Error Check ................................................................................................... 56

3. Operation in W2-Mode.............................................. 59
W2-Mode Function....................................................................................... 59
PLC Link in W2-Mode................................................................................... 61
PLC Link Parameter List in W2-Mode ......................................................... 73
Error Information Output Register when Using PLC Link in W2-Mode ... 81
Error Check ................................................................................................... 89

Appendix. Special Relay(R), Special Data Register(DT) . 93


Special Relay and Special Data Register List............................................. 93

3
4
Safety Instructions
Please read this manual and the related documentation thoroughly
and familiarize yourself with product information, safety instructions
and other directions before installing, operating, performing
inspection and preventive maintenance. Make sure to follow the
directions correctly to ensure normal operation of the product and
your safety.

WARNING • If this product is used in a situation that may cause


personal injury and/or significant product damage,
implement safety measures such as use of fault-safe
equipment.
• Do not use this product under any conditions
exposed to explosive gases. It may cause an
explosion.

ATTENTION • Please fasten cables with terminal bolts.


• Do not use the product under conditions that do not
meet correct environmental standards.
• Make sure you connect grounding cables.
• Do not touch terminals when electric current is
flowing.

5
NX Series Multi-Wire Link Installation Environment

ATTENTION Do not install your unit if any of the following


conditions are present:
• Ambient temperature outside the range of 0 to 55 °C
(32 to 131 °F).
• Direct sunlight.
• Humidity outside the range of 30% to 85%
(non-condensing).
• Chemicals that may affect electronic parts.
• Excessive or conductive dust, or salinity.
• High voltage, strong magnetic fields, or strong
electromagnetic influences.
• Direct impact and excessive vibration.

ATTENTION Precautions for Electrostatic


• Excessive static electricity can be generated in dry
conditions, so please make sure to discharge
electrostatic with other materials like grounded
metal bars before contacting unit

ATTENTION Cleaning Unit


• Do not use thinners, which can damage or degrade
PCB circuit board.

ATTENTION • Make sure to turn off the power before you mount or
remove link unit.
• Link unit should be mounted on basic backplane.
• Be careful not to leave any cable residues in the unit
while wiring.
• Do not touch the connection connector (RS485
interface) terminal on the front of unit.
• Be careful not to drop or shock the plastic package of
link unit.
• Use the unit under conditions defined in the general
specifications to enhance product performance.
• Separate units as far away as possible from high-
voltage cables, high voltage equipment, power
cables and power equipment.
• Make sure to separate the power wires and
transmission cables or operate in different ducts if
possible.

6
MW-Link Unit Overview
MW-Link unit (Multi-wire link) operates in either of the following two
function modes, selected by setting switch.
1) SECNET-W network: W-mode
2) SECNET-W2 network: W2-mode

Use restrictions in each mode (W and W2) based on CPU unit type
○ : Available, X: Not available
Product name
W-mode W2-mode ATTENTION
PLC series CPU unit
NX70-CPU750 ○ ○
NX70-CPU750 ○ X ATTENTION
NX700 PLC
NX70-CPU70p1 W and W2 modes cannot be used together on 1
X X network (loop).
NX70-CPU70p1
Therefore, W-mode unit can communicate only with
NX-CPU750A
other W-mode units on the same network.
NX-CPU750B
○ ○ Up to 3 MW-link units can be mounted on 1 CPU unit.
NX-CPU750C
NX700 PLC NX-CPU750D (But W-mode units and W-2 units are counted
separately, so up to 6 units can be mounted,
NX-CPU700 ○ X depending on the CPU unit type.)
NX-CPU700p X X

Precautions for using W-2 mode


When using MW-Link unit in W2-mode, user needs to write a program
of around 300 steps before use. Get familiar with specifications before
use.

Reference Manuals
NX700 PLC System Manuals
Included in the package box of NX700 CPU module (CPU750A,
CPU750B, CPU750C, and CPU750D).
NX70 PLC System Manuals
Included in the package box of NX70 CPU module (NX-CPU750).
Programming Manual I (NX70 CPU70, NX700 CPU700, and N70 and
N700 PLC)
Included in the product package box of NX70 PLC (NX70-CPU70),
NX700 PLC (NX-CPU700), N70 PLC (CPL9211A), and N700 PLC
(CPL7211A).
Programming Manual II (NX70 CPU750, N700a, N700H, NX700 PLC)
Included in the product package box of NX70 PLC (NX70-CPU750),
N700H PLC(CPL6215A), and NX700 CPU unit (CPU750A, CPU750B,
CPU750C, CPU 750D).

7
8
1
System Configuration and Specifications

MW-LiNk Unit Features


Multi-functional PLC network unit, up to 32 modules connectable with
twisted-pair cables. Two operation modes are provided: W-mode for
general W-link functions, W-2 mode for large-volume data and PLC link
data transmission. Multiple network solutions on a single unit. 2-layer
network enabled (PLC link, computer link, data transmission, remote
programming, and layer link).

NX700 PLC MW-LINK NX70 PLC MW-LINK


UNIT (NX-MWLINK) UNIT (NX70-MWLINK)

MW-Link Unit Overview


MW-Link unit (Multi-wire link) operates in either of the following two
function modes, selected by setting switch.
1) SECNET-W network: W-mode
2) SECNET-W2 network: W2-mode
Use restrictions in each mode (W and W2) based on CPU unit type
○ : Available, X: Not available
Product name
W-mode W2-mode ATTENTION
PLC series CPU unit
NX70-CPU750 ○ ○
ATTENTION
NX70 PLC NX70-CPU70 ○ X
W and W2 modes cannot be used together on 1
NX70-CPU70p1
X X network (loop).
NX70-CPU70p2
Therefore, W-mode unit can communicate only with
NX-CPU750A
other W-mode units on the same network.
NX-CPU750B
NX-CPU750C ○ ○ Up to 3 MW-link units can be mounted on 1 CPU unit.
NX700 PLC NX-CPU750D (But W-mode units and W-2 units are counted
X separately, so up to 6 units can be mounted,
NX-CPU700 ○
depending on the CPU unit type.)
NX-CPU700p X X

9
SECNET W-mode functions
Configuration diagram

MW-Link unit W-Link unit


N700 series
(W-mode) MW-Link unit
NX700 series
NX70 series (W-mode)

Twisted-pair cable Twisted-pair cable

Up to 32 connections

Specifications
Item Specifications (W-mode)
Communication method Token bus type
Transmission method BASE-BAND type
Number of connection stations 32 stations/layer, 2 layers
Transmission cable Twisted-pair cable (2-wire)
Transmission distance 800m (Total length)
Transmission speed 0.5Mbps
1. PLC link functions (Max. 16 stations)
2. Computer link function (Max. 32 stations)
→ CCU unit needed
Function/Number of stations 3. Data transmission functions (Max. 32 stations),
→ 16 words/1 instruction
4. Remote programming functions (Max. 32 stations)
5. Layer link
Link relay (L): 1,024 points x 2
PLC link capacity (Per one unit)
Link register (Ld): 128 words x 2
Interface RS-485 multi-drop
RAS function Hardware self-diagnosis function

Features
● N70, N700 PLC series W-LINK units and NX70, NX700 PLC series
MW-LINK units (W-mode) can be combined to build up to 32 PLC
networks.
● Cost-saving from simple configuration with twisted-pair cables.
PLC network with high cost-effectiveness is enabled with twisted-
pair cables.
● Computer link with CCU.
When configuring PLC network, CCU unit provides computer link
function.
● Intensive management with 2-layer MW-LINK network.
Up to 3 units including W-Link and CCU can be mounted on 1 CPU
unit. If 2 W-link units are mounted and configured as 2 layers, PLC
contacts and data in the layers can be managed intensively.
● TOKEN-BUS, total length of 800m
Bus type network enables total length of 800m to be used up,
without wiring on loop.

10
SECNET W-2 mode functions
Configuration diagram

Up to 32 connections

MW-Link unit MW-Link unit


(W2-mode) MW-Link unit (W2-mode)
NX700 series NX700 series
NX70 series (W2-mode)

Twisted-pair cable

* Initial value setting with user program is needed to use PLC link functions in W2-mode.

Specifications
Item Specifications (W2-mode)
Communication method Token bus type
Transmission method BASE-BAND type
Number of connection stations 32 stations/layer, 2 layers
Transmission cable Twisted-pair cable (2-wire)
Transmission 250 Kbps 1200m (Total length)
distance 500 Kbps 800m (Total length)
Transmission speed 500 Kbps/250 Kbps
1. PLC link functions (Max. 32 stations)
2. Computer link function (Max. 32 stations)
→ CCU unit needed
3. Data transmission function (Max. 32 stations),
Function Number of stations
1,020 words/1 instruction
4. Remote programming function (Max. 32 stations)
5. Layer link (If 2 MW-link units are connected to 1 CPU
unit, the network can be configured with 2 layers)
Link relay (L): 4,096 points x 2
PLC link capacity (Per one unit)
Link register (Ld): 4,096 words x 2
Interface RS-485 multi-drop
RAS function Hardware self-diagnosis function

Features
● Up to 32 units of NX700 PLC MW-LINK and NX70 PLC MW-LINK
units together build up PLC network.
● Large-volume data transmission (1,020 words/1 instruction)
Data transmission instructions [F145 (SEND)] and [F146 (RECV)] can
handle up to 1,020 words of data at a time. Increased data
transmission capacity greatly improves work efficiency. (On
previous W-LINK systems, 1 instruction could handle only 16 words
of data at once.)

11
● Enhanced PLC link (PLC link 32 stations, increased link capacity)
Up to 32 units can be configured by using PLC link function.
PLC link capacity has been also much increased.
(L: 4,096 points, Ld: 4,096 words)
Link relay (L) and link register (Ld) areas can be configured with
user program. (Using F145 and F146 instructions)
● Computer link available when CCU is mounted
When setting up PLC network, computer link is available with CCU.
● Simple transmission wiring with twisted-pair cables.
● Transmission distance is extended. (Up to 1,200m)
Based on transmission speed conversion, data can be transmitted
up to 1,200m. (When transmission speed is set to 250Kbps, up to
1,200m reachable)
● Intensive management with 2-layer MW-LINK network.
Up to 3 units, including W-Link and CCU, can be mounted on 1 CPU
unit, and if 2W-link units are mounted, the network will be
configured with 2 layers, providing intensive management of PLC
contacts and data in each layer.

ATTENTION CPU units that can be used with W2-mode


• NX70 PLC series: NX70-CPU750
• NX700 PLC series: NX-CPU750A, CPU750B, CPU750C,
CPU750D unit

12
MW-LiNk Unit Specifications
General Specification
Item Specifications
Operating 0 °C to +55 °C (32 °F to 131 °F)
Temperature
Storage -25 °C to +70 °C (-13 °F to 158 °F)
Operating 30 to 85% RH (Non-condensing)
Humidity
Storage 30 to 85% RH (Non-condensing)
1500V AC for 1 minute between I/O terminal (AC) and frame ground (power unit)
Withstand voltage
500V AC for 1 minute between I/O terminal (DC) and frame ground (power unit)
100 MΩ or more at 500 mega V DC between I/O terminal (DC) and frame ground
Isolation resistance
(power unit)
10 to 55 Hz, 1 cycle/minute: double amplitude of 0.75mm, 10 minutes on 3 axis
Vibration immunity
(X, Y, Z)
Shock immunity Peak acceleration and duration 15g/11ms, 3 times in each X, Y, Z direction
Noise immunity 1500Vp-p with 50ns to 1 µs pulse width (generated by noise simulator)
Ambience No corrosive gas, no excessive dust

Transmission Specifications
Specifications
Item Remarks
W-mode W2-mode
Communication
Token bus type
specifications
Transmission method BASE-BAND type
Transmission speed 500k bps 500k bps/250k bps
Max. total length
Transmission distance Max. total length 800m At 250k bps: 1,200m
At 500k bps: 800m See "Transmission Cable" in
Number of connection Chapter1 on the next page for details
Max. 32 stations about transmission cables.
stations
Transmission error
CRC (Cyclic Redundancy Check) method
check
Synchronization
Start-stop synchronization
method
Interface RS-485 type
Transmission path Twisted-pair cable

13
Performance Specifications
Specifications
Item
W-mode W2-mode
1. PLC link function (Max. 32 stations)
1. PLC link function
(Max. 16 stations) 2. Computer link function
(Max. 32 stations)
2. Computer link function
→ CCU unit needed
(Max. 32 stations)
→ CCU unit needed 3. Data transmission function
(Max. 32 stations),
Communication function 3. Data transmission function
→ 1,020 words/1 instruction
(Max. 32 stations),
→ 16 words/1 instruction 4. Remote programming function
(Max. 32 stations)
4. Remote programming function
(Max. 32 stations) 5. Layer link (Up to 2 MW-link units can
be connected to 1 CPU unit, providing
5. Layer link
2-layer configuration for the network)
PLC link Max. 16 stations Max. 32 stations
Function/Number of
stations Other
Max. 32 stations
functions
Link relay WL fixed
Used Select with WL, WR, Ld, DT, FL and
areas Link configure settings
Ld fixed
register
PLC link Setting Setting with system register Setting with user program
Link relay Max. 1,024 points Max. 4,096 points
Capacity Link
Max. 128 words Max. 4,096 words
register
• Special relay

• Special relay • Special data register


Operation Used areas
• Special data register • Based on settings, detailed
status/
information is output to WL, WR, Ld,
error
DT, FL.
report
Setting with F145(P145) instruction
Setting -
(SEND)
Data transmission capacity Max. 16 words Max. 1,020 words

Transmission Cable
Cable list
Transmission cable Specifications
Recommended W2-mode Remarks
Transmission cable W-mode
manufacturers 500 kbps 250 kbps
2
KPEV-S1P x 1.25mm
800m 800m 1200m
Twisted-pair cables compatible (Hitachi Cable)
See Figure 1 below
with shield KPEV-S1P x 0.5mm
2
700m 700m 1100m
compatible (Hitachi Cable)
Cable without shield
General cable Not available See Figure 2 below
(VCTF cable)

Figure 1 Figure 2
Conductor Conductor
Twisted-pair VCTF cable
cable with shield
Shield
External
Insulator External
Insulator Jacket
Jacket

14
Restrictions on MW-LiNk Unit Configuration
Use restrictions in each mode (W and W2) based on CPU unit type
Product name
W-mode W2-mode
PLC series CPU unit
NX70 PLC NX70-CPU750
Up to 3 units including CCU unit can be used. Up to 3 units can be used.
NX-CPU750A
(Up to 2 units for PLC link) (Up to 2 units for PLC link)
NX-CPU750B
NX700 PLC
NX-CPU750C Up to 5 units including CCU unit can be used. Up to 8 units can be used.
NX-CPU750D (Up to 2 units for PLC link) (Up to 2 units for PLC link)

When using NX70 (NX70-CPU750) or NX700 (CPU750A, CPU750B,


CPU750C, CPU750D) unit, 3 W-modes and 3 W2-modes MW-Link units
can be used per 1 CPU unit.

ATTENTION W-mode and W2-mode cannot be used together on the same


network (Loop). Therefore, on 1 network (loop), W-mode
units can establish communication only with link units set to
W-mode.

ATTENTION Up to 2 MW-Link units can be mounted on 1 CPU unit.


(W-mode and W2-mode units should be separated in
different networks. Therefore, a total of 6 MW-Link units on
separate networks can be used, depending on CPU unit
type.)

Restrictions on Mounting
● MW-Link unit can be only mounted on basic backplanes.
● It is recommended that MW-Link unit should be mounted in the
location nearest to CPU unit, to enhance performance.
● MW-Link unit cannot be mounted on expansion backplane.

15
Checkpoints for MW-LiNk Unit Configuration
Checking Current Consumption
5V Current
Product name PLC series Catalog number
consumption
NX700 PLC NX-MWLINK 230 mA
MW-Link unit
NX70 PLC NX70-MWLINK 220 mA

I/O Allocation Check


MW-Link unit automatically occupies 16SE (16 points) when mounted.
However, the unit can be also used with 0 point. The setting should be
changed to “0SE” in WinFPST S/W.

Checking for multiple unit mounting


Mounted MW-Link units are called as LOOP No.1, LOOP No.2, and
LOOP No. 3, from the unit nearest to CPU unit. (Or they are called
Network 1, Network 2 and Network 3.)

NX-CPU750B NX-M W LINK NX-M W LINK NX-X16D NX-X32D NX-X64D

LOOP No.3 (Network 3)


LOOP No.3 (Network 2)

LOOP No.3 (Network 1)

In W-mode PLC link communication, the units are called as “for PLC
Link 0”, “for PLC Link 1,” and so forth, from the unit nearest to CPU
unit.

NX-CPU750B NX-M W LINK NX-M W LINK NX-X16D NX-X32D NX-X64D

for PLC Link 1

for PLC Link 0

In W2-mode PLC link communication, “for PLC Link 0” and “for PLC
Link 1” have their own operation area, so it is not necessary to change
link relay and link register settings for each MW-Link unit.

16
External Diagram and Functions
NX70 PLC MW-LINK UNIT (NX70-MWLINK)

NX70-MWLINK

MWLINK
COM. PLC Link
ERR. SPEED ¤
W-Mode TERM
W2-Mode

¤Œ
¤Ł

¥ı

¤Ø

2
¤º 1

ON

< Front > < Bottom >

NX700 PLC MW-LINK UNIT (NX-MWLINK)

NX-MWLINK
MWLINK

COM. PLC Link ¤


ERR. SPEED
W-Mode TERM
W2-Mode

¤Ł ¤Ø¤Œ

¥ı

¤º 5
4
3
2
1

ON

< Front > < Bottom >

17
Parts and Functions
c Operation Status Display
Link unit states such as operation/stop, error/alarm, and
communication status are displayed.
d Link No. Setting switch
Link Unit No. in the network is configured.
(In W-mode, it becomes valid from the moment when Link No. is
changed. However, in W2-mode, Link No. should be changed when
power is off.)
e Mode setting switch (1)
Operation mode (PLC link, non-PLC link mode selection, and end
station setting) Configuration.
(PLC link mode setting should be changed when power is off.
However, end stations settings become valid from the point of
change.)
f Function mode setting switch (2)
Only for W2-mode. Function mode (W or W2-mode settings, and
communication speed settings in W2-mode) is configured. (Switch
setting should be changed when power is OFF, to take effect.)
g Terminal for transmission path (RS485)
Connect transmission cable.

18
Operation status LED

MWLINK
NX70-MWLINK NX-MWLINK

MWLINK
COM. PLC Link COM. PLC Link
ERR. SPEED ERR. SPEED
W-Mode TERM W-Mode TERM
W2-Mode W2-Mode

NX70 PLC NX700 PLC


MW-LINK UNIT MW-LINK UNIT
(NX70-MWLINK) (NX-MWLINK)

○: On, ◑: Fast flickering (T=0.2s), ◐: Slow flickering (T=1.0s), ●: Off

Operation status
LED items Event
W-mode W2-mode
○ : Normal communication ○ : Normal communication
Communication ◐ : Overload on communication buffer
COM.
Status ● : Communication error ● : Communication error
(Transmission failed) (Transmission failed)
○ : Convergence/Self-diagnosed error ○ : Convergence/Self-diagnosed error
Hardware/
ERR. ◑ : Error types (Note 1) ◑ : Error types (Note 1)
Software error
● : Normal ● : Normal
W-Mode W-mode ○ : W-mode status ● : Not in W-mode.
W2-Mode W2-mode ● : Not in W2-mode. ○ : W2-mode status
○ : PLC Link operation status ○ : PLC Link operation status
◑ : PLC Link operation not available
PLC Link PLC Link flag
● : PLC Link stop /
● : Non-PLC Link operation status
Non-PLC Link operation status
Communication ○ : 500 Kbps fixed ○ : 500 Kbps
SPEED
speed ● : 250 Kbps
○ : An end station. ○ : An end station.
TERM End station
● : Not an end station. ● : Not an end station.

NOTE1 Occurs in the case of transmission error, out-of-range of Link unit No., duplicate
station number and duplicate link area allocation.

19
Mode Setting Switch Configuration
Link Unit No. Setting Switch
Up to 32 link units can be connected, and Link Unit No. is configured
with this rotary switch.
Tens column Ones column
Using Link Unit No.

• Dial switches for tens and ones columns with


UNIT No. cross-tip screwdriver, to set the arrow at the
number you want.
• For example, when setting Link Unit No. to 7,
align tens column to 0 and ones column to 7.

Link Unit No. setting precautions


Mode setting Event
01 to 32 (decimal)
Communication fails when the number is set out-of-range and Unit No. setting
Valid range error occurs. (ERR LED flickers.)
(Unit Numbers in PLC link mode can be set within the range of 01 to 16.
It is not an error, and the numbers out-of-range can be used for functions other than
W-mode PLC link, such as data transmission)
Unit No. can be changed during operation.

Operation When the number is changed during operation, new number can be used from the
moment of change. However, station number should not be duplicated.
Unit No. setting error occurs and communication fails. (ERR LED flickers.)
01 to 32 (decimal)

Valid range Communication fails when the number is set out-of-range, setting error occurs and
communication fails. (ERR LED flickers.)
(Unit No. can be set within the range of 01 to 32 in PLC link mode.)
W2-mode Unit No. cannot be changed during operation.
Turn off the power when changing Unit No. Settings stored on power-up cannot be
Operation changed during operation.
However, station number should not be duplicated. Unit No. setting error occurs
and communication fails. (ERR LED flickers.)

20
Mode Setting Switch NX70 PLC MW-Link unit
Mode setting switch (1)
4-pole type dip switch on the front of NX70 PLC MW-Link unit.

1 Operation mode selection (PLC link or non-PLC link)


2 Unused
3 End station setting: On MW-Link network, units on both ends of the
4 network should be configured as end stations.

OFF ON

* All settings are set to OFF (neither PLC link nor end station) as factory default.

Settings
No. Item
W-mode W2-mode
OFF PLC link mode
Operation
1 Non-PLC link mode (Computer link, data transmission, remote
mode ON
programming and layer link)
2 Unused -

Setting at end 3
3 All ON
station 4
End station OFF ON
setting
Not an end 3
4 All OFF
station 4
OFF ON

Mode setting switch (2)


2-pole type dip switch on the bottom of NX70 PLC MW-Link unit.
Transmission speed setting is only used in W2-mode.

* All set to OFF (500 Kbps speed) as factory default.

Settings
No. Item
W-mode W2-mode

1 Function mode OFF 1 ON 1


OFF ON OFF ON

Communication
2 500 kbpx fixed 500 kbpx fixed 2 250 kbpx fixed 2
speed (note) OFF ON OFF ON

NOTE In W2-mode, units with different speed settings (500Kbps and 250Kbps) cannot be
connected on the same network.

ATTENTION Turn off the power when changing mode settings (1), (2).
Settings stored on power-up are maintained even when
switch is changed during operation. End station settings of
mode setting switch (1) can be changed during operation.

21
Mode setting switch

NX700 PLC MW-Link unit

5-pole type dip switch on the bottom of NX700 PLC MW-Link unit.

5 Function mode selection (W or W2-mode)


4 Communication speed selection (Only in W2-mode)
3 Operation mode selection (PLC link or non-PLC link)
2
End station setting: On MW-Link network, units on both ends of the
1 network should be configured as end stations.
ON

Settings
No. Item
W-mode W2-mode

Setting at 1
1 All ON 2
end station
End station OFF ON
setting
Not an end 1
2 All OFF
station 2
OFF ON

PLC link mode (PLC link, computer link, data transmission, remote
OFF
Operation programming and layer link)
3
mode Non-PLC link mode (Computer link, data transmission, remote programming
ON
and layer link)
Communication speed
4 500 kbpx fixed 500 kbpx 4 250 kbpx 4
(Note) OFF ON OFF ON

5 Function mode W-mode 5 W2-mode 5


OFF ON OFF ON

* All settings are set to OFF (neither PLC link nor end station, W-mode and 500 Kbps speed) as
factory default.

NOTE In W2-mode, units with different speed settings (500Kbps and 250Kbps) cannot be
connected on the same network.

ATTENTION Turn off the power when changing mode setting switch.
Settings stored on power-up are maintained even when
switch is changed during operation. End station settings of
mode setting switch 1 and 2 can be changed during
operation.

22
Network Wiring
Terminal Block Wiring
● Connect positive to positive, and negative to negative of
transmission path terminals for each link unit.
● When using F.G (frame ground) terminal, connect one end of
transmission cable shield to ground as illustrated below. (If correct
triple grounding is not available, do not connect F. G. Otherwise,
error may occur.)

Transmission path Transmission path Transmission path


connection terminal connection terminal connection terminal
Transmission Transmission
cable cable

Shield Shield

[RS485 interface] [RS485 interface] [RS485 interface]

● Up to 32 MW-Link units can be connected for communication.


● Guaranteed transmission distance is equal to the max. distance
between link units at both ends.
● Make sure not to set up branch line wiring as illustrated below.

Correct wiring

Incorrect wiring

Transmission Cable
Transmission cable Specifications
Transmission Recommended W2-mode Remarks
W-mode
cable manufacturers 500 kbps 250 kbps
KPEV-S1P x 1.25mm2
800m 800m 1200m
Twisted-pair cables compatible (Hitachi Cable)
with shield KPEV-S1P x 0.5mm 2
See "Transmission
700m 700m 1100m
compatible (Hitachi Cable) Specifications" in
Cable without shield Chapter1.
General cable Not available
(VCTF cable)

23
MW-Link System Installation and Start-up

MW-Link unit installation

1. Mounting MW-Link unit


Mount link unit on the basic backplane.
• Depending on CPU type, 3 to 8 link
units can be mounted on 1 CPU unit.
• Be careful about I/O number
allocation.

2. Transmission cable wiring


Connect RS485 interface terminals with
twisted-pair cables (with shield).
• Max. total length: 800m (1,200m
depending on the mode)
• Connect positive to positive, negative
to negative.
• Up to 32 units can be connected.

Tens column Ones column

3. Unit No., end station and operation


mode setting
• Set the Unit No. of each link unit.
(Unit No. setting switch)
• Operation mode setting.
(PLC link or non-PLC link)
• Function mode setting (2).
(W or W2-mode) 5 Function mode selection (W or W2-mode)
Communication speed selection
• Link unit connected at the end of 4 (Only in W2-mode)
network is set as end station. 3 Operation mode selection
(End station setting) (PLC link or non-PLC link)
2
* In W2-mode, communication speed is End station setting:
1
configured.
(Communication speed selection) ON
NX700 module

24
MW-Link unit start-up

Follow these steps when starting up MW-Link unit.


1. Check the settings of Link Unit No., operation mode and end
station.
• Check for out-of-range or duplicate Link Unit No.
• Check if the units at the ends are set as end stations.
• Check if PLC link communications units are in PLC link mode, and
Unit numbers of those units are set within the range of 01 to 16 (01
to 32 in W2-mode).

2. Turn on the power.

3. Check operation status LED.


• Check for self-diagnosed error, Unit No. setting error, or duplicate
error. (ERR LED)
• On PLC link communication units, check if PLC LINK LEDs are ON.

4. When there is any error, identify the cause and modify settings
• See "Troubleshooting".
• Operation status can be checked by reading special relay and
special data register.

5. Now MW-Link unit is ready for operation.


ATTENTION) For PLC link communication, link area (sending area)
should be configured at the system register of CPU
unit. Be careful that system register is not configured
by factory default.
See "PLC Link Communication" of W-mode in Chapter 2
or "PLC Link Communication" of W2-mode in Chapter 3.

25
Communication Functions and Operation
Mode Setting
On MW-Link network, 3 types of PLC communication are available:
c PLC link communication, d Data transmission, and e Remote
programming.
● PLC link communication is only available for MW-LINK units that
are configured as PLC link mode.
● Data transmission and remote programming functions can be used
in any operation mode.
(Computer link and layer link functions are also available.)

Operation mode selection


Select whether to use PLC link communication on each link unit.
● In PLC link mode: all communication functions are available.
PLC link communication is available, and Unit No. can be set within
the range of 01 to 16 (01 to 32 in W2-mode). Data transmission and
remote programming functions are also available.
(Usually, it is recommended to use PLC link mode when the
number of connected link units falls within the range of 01 to 16
(01 to 32 in W2-mode).
● Non-PLC link mode (Only PLC link communication is not available.)
Data transmission and remote programming functions are
available.
In the illustration below, only communications marked with lines are
available between the link units.

Communication available

PLC link communication


Data transmission
Remote programming

Link unit set to PLC link mode Link unit not set to PLC link mode

W-Link network communication function


Event
Function
W-mode W2-mode
Cyclic transmission of information between PLCs.
PLC link Link relay (L) or link register (Ld) is used for this type of information exchange.
communication
L (1024 points/1 network) L (4096 points/1 network)
function
Ld (128 words/1 network) Ld (4096 words/1 network)
Contact and other information is transmitted between PLC, with data transmission
Data transmission instructions (SEND/ RECV).
function
Max. 16 words/1 transmission Max. 1,020 words/1 transmission
This function enables program editing or control monitor of a certain PLC on a network,
Remote
by connecting to programming tool (WinFPST S/W) of any other CPU unit on the same
programming
network.

26
2
Operation in W-Mode

W-Mode Functions
PLC Link Communication
● The cyclic (repeated) transmission of data makes it possible for
PLCs to mutually control and share data. This function is crucial for
consistent process and PLC network by enabling sharing of contacts
and information among PLCs on the network.
● Information is exchanged through link relay (L) or link register (Ld)
of each PLC.
Link relay (L): 1024 points/Network
Link register (Ld): 128 words/Network
● Up to 2 MW-Link units can be mounted on 1 CPU unit, providing
2 networks.
● PLC link can be used on up to 16 units on 1 network. (W-mode)
Following is an example of NX700 PLC program.

Twisted-pair cable
Link Unit No.1 Link Unit No.2

X0 L0 L0 Y0
( ) ( )

R0 R0
F0(MV) F0(MV)
WX1 Ld1
Ld1 WY1

The illustration above shows an example of PLC link communication.


• No. 2 PLC Y0 control data can be changed by ON/OFF status at No. 1 PLC X0 (Link
relay L0).
• No.2 PLC WY1 control data can be changed by data status (Link register Ld1) at No.
1 PLC WX1. (No.1 PLC WX1 value is transferred to No.2 PLC WY1 through link
register Ld1, without complicated setting.)
See "PLC Link Communication" in Chapter 2 for details.

27
Data transmission
This function makes it possible to transmit and receive a batch of
different contact points or a large volume of data among PLCs that are
networked through the MW-link unit. (16 words per 1 instruction) Data
transmission is controlled with PLC user program ladder instructions
(F145/ P145, F146/ P146). Up to 32 units per 1 network are allowed for
this function, regardless of PLC link mode selection.
Following is an example of NX700 PLC program.

Twisted-pair cable
Link Unit No.1 Link Unit No.2

to No.2FL.

R0
F145(SEND)
DT 0
DT 100
FL 0
K 0 Save data from
No.1 DT100

The illustration above shows an example of data transmission.


(SEND(F145) instruction input at Link Unit No.1 PLC) → Send No.1 PLC DT100 data to
No.2 PLC FL0.
See "Data Transmission" in Chapter 2 for details.

Remote programming
● Program for a PLC on MW-LINK network can be written on any PLC
on the network. Program editing (modification, deletion, addition)
and data READ/WRITE process can be carried out via programming
tool (WInFPST S/W) at a PLC for another PLC. See"Remote
Programming" in Chapter 2 for details.
● This function is particularly convenient for controlling PLCs on
network without moving programming tools.
● Up to 32 units per 1 network are allowed for this function,
regardless of PLC link mode selection.

Twisted-pair cable
Link Unit No.1 Link Unit No.2

Ladder program on
X0 Y20 PLC No.2 can be
( )
Programming tool edited and
No.2PLC ladder X2 Y25
(WinFPST S/W)
( )
monitored from
program programming tool
connected to PLC
No.1.

28
PLC Link Communication
What is PLC Link Communication?
● PLC link communication is established between PLCs connected
with SECNET (MW-Link, W-Link, Optical Link) via shared link relay
(L) and link register (Ld).
● Special instructions for assigning respondent units or sending and
receiving data are not necessary. Simple transmission area
allocation at system register (parameter settings) and ladder
program can establish communications between PLCs.
PLC link communication is only available for PLCs configured as
PLC link mode.
Up to 2 units can be operated in PLC link mode per 1 CPU unit. PLC
link units are assigned as PLC link 0 and PLC link 1, from the unit
nearest to CPU unit.

Using Link Relay (L) and Link Register (Ld)


PLC link communication is established between different types of
PLCs, sharing data by transmitting link relay (L) or link register (Ld) on
a cyclic basis.

Example of PLC link communication


[Ex 1] Unit No.8 output Y30 turns ON when Unit No.1 input X0 is ON,
using link relay L0.

X0:ON Y30: ON
Link Unit No.1 Link Unit No.8

L0 Y30
( )

L0: ON

● Write a program that turns ON L0 when X0 is ON on Unit No.1, and turns ON Y30
when Y30 is ON on Unit No.8.
● L0 should be set for sending on Unit No.1 and receiving on Unit No.8.

[Ex 2] Data in Unit No.1 data register DT0 is stored into Unit No.8 data
register DT1, using link register Ld0.

Ld0
DT 0 DT 1
H.1234 H.1234

[ F0 MV, Ld0, DT1 ]

Link Unit No.1 Link Unit No.8

● Write a program that stores DT0 data in Ld0 by data sending instruction (advanced
instruction F0) on Unit No.1, and stores Ld0 data into DT1 on Unit No.8 in the same
way.
● Ld0 should be set for sending on Unit No.1 and receiving on Unit No.8.

29
Link Area Allocation
Preparation
● Link area allocation is necessary when using PLC link function in W-
mode.

ATTENTION • Allocation is needed both for link relay and link register.
• PLC link communication is only available for PLCs
configured as PLC link mode.

Link area allocation


● Link relay /link register used for PLC link are allocated on link data
memory L and Ld on every CPU unit.
● When allocating link relay (L)/link register (Ld), the system register
of CPU unit should be first allocated to activate PLC link function.

System register list


Initial
No. Name Set value (parameter) range
value
Range setting for link relay (WL) for
40 0 0 to 64 words (0 to 1,024 points)
Link unit PLC Link0 setting

communication
Range setting for link register (Ld) for
41 0 0 to 128 words
communication
Link relay (WL) Starting number of
42 0 0 to 63 (L0 to L63F)
sending area sending (Initial word No.)
43 setting Size of sending area 0 0 to 64 words (0 to 1,024 points)
Link register Starting number of
44 0 0 to 127 (Ld0 to Ld127)
(Ld) sending sending (Initial word No.)
45 area setting Size of sending area 0 0 to 127 words
○ : Standard (First Link = PLC link 0,
Second Link = PLC link 1)
46 Link unit PLC link conversion flag Standard
○ : Reverse (First Link = PLC link 1,
Second Link = PLC link 0)

Initial
No. Name Set value (parameter) range
value
Range setting for link relay (WL) for
50 0 0 to 64 words (0 to 1,024 points)
Link unit PLC Link0 setting

communication
Range setting for link register (Ld) for
51 0 0 to 128 words
communication
Link relay (WL) Starting number of
52 64 64 to 127 (L640 to L127F)
sending area sending (Initial word No.)
53 setting Size of sending area 0 0 to 64 words
Link register Starting number of
54 128 128 to 255 (Ld128 to Ld255)
(Ld) sending sending (Initial word No.)
55 area setting Size of sending area 0 0 to 127 words

30
System register notes
● 1. Number of link relay (WL) points is equal to Set Value x 16 points.
For example, if the set value of system register No.40 is 64, 1,024
points of link relay (L0 to L63F) are used for link area for PLC link 0.
● 2. Sending area is the range of link relay and link register used for
sending on PLC link communication.
All other link areas out of sending area are automatically assigned
as receiving area. The range assigned as sending area on a PLC
should not be set as sending area on another PLC. (Error occurs.)
That is, sending areas cannot be duplicate on the same network.
● All other areas are automatically set as receiving areas. (Within the
link range)
If the sending area is set to 0, all link areas of the PLC are set as
receiving areas.
When sending area is configured as the maximum of set range, all
PLC link areas will be set as sending area.

Link area configuration

World World
0 0

L: 1,024 points L: 128 words


PLC link 0 equivalent PLC link 0 equivalent
(L0 to L63F) (Ld0 to Ld127)
63 63
64 64
L: 1,024 points L: 128 words
PLC link 1 equivalent PLC link 1 equivalent
(L640 to L127F) (Ld128 to Ld255)

127 127
for link relay (L) for link register (Ld)

● There are two link areas, each of which is for link relay (L) or link
register (Ld).
● Each link area for link relay and link register is divided into areas for
PLC link 0 and PLC link 1 as illustrated below, and can be used on
link unit.
● Link relay can use up to 1,024 points, and link register 128 words, in
the area for PLC link 1. (Areas not used for link relay or link register
can be used for internal relay or internal register. See “Precautions
for Link Area Allocation”.)

ATTENTION When 2 link units are mounted on 1 CPU unit, the modules
are automatically assigned as PLC link 0 and PLC link 1 from
the unit nearest to CPU unit, but when only 1 link unit is
used, only PLC link 0 link area is used.
• In that case, PLC link 1 area cannot be used.
• When using only one link unit, link relay can use up to
1,024 points, and link register can use up to 128 words.

31
● PLC link 0 and PLC link 1 areas are divided into sending and
receiving areas for use.
● Link relay (L) or link register (Ld) is sent from sending area to
receiving area of other PLC. Therefore, the same link relay (L) and
link register (Ld) numbers are necessary in program on the
receiving side, to establish PLC link communication. When sending
area is duplicate on other PLC, communication cannot be started on
the duplicate area, and link error occurs.

Link area allocation

Link relay (L) allocation example:

WL0 WL0 WL0 WL0


Sending area N o.1 Receiving area N o.1 N o.1
19 19
Receiving area
20 20
N o.2 N o.2 N o.2 Receiving area
Sending area
Receiving area 39 39
40 40
N o.3 N o.3 N o.3
Receiving area Sending area
63 63 63 63
Link U nit N o.1 N o.2 N o.3 N o.4

System register Settings for each link unit


No. Setting area for PLC link 0 Link No.1 Link No.2 Link No.3 Link No.4
40 Range setting for link relay (WL) 64 64 64 64
Starting number of sending (Initial word No.) for
42 0 20 40 0
link relay (WL)
43 Size of Link relay (WL) sending area 20 20 24 0

Link register (Ld) allocation example

Ld0 Ld0 Ld0 Ld0


Sending area N o.1 Receiving area N o.1 N o.1
39 39
40 40 Receiving area
N o.2 N o.2 N o.2
Sending area Receiving area

Receiving area 79 79
80 80
N o.3 N o.3 N o.3
Receiving area Sending area
127 127 127 127
Link U nit N o.1 N o.2 N o.3 N o.4

System register Settings for each link unit


No. Setting range for PLC link 0 Link No.1 Link No.2 Link No.3 Link No.4
41 Range setting for link relay (Ld) 128 128 128 128
Starting number of sending (Initial word No.) for
44 0 40 80 0
link relay (WL)
45 Size of link relay (Ld) sending area 40 40 48 0

When the link areas are allocated as illustrated above, No.1 sending
area is able to send to receiving areas of No.2, No.3, and No.4. And
No.1 receiving area is able to receive from sending areas No.2, No.3.
No.4 receiving area is able to receive from No.2 and No.3, but not able
to send to other stations.

32
When using part of link area
● Link areas are pre-set as PLC link 0 and PLC link 1, and 1,024 points
for link relay and 128 words for link register are available in each
area, but it is not necessary to allocate all areas to link area.
● Areas not allocated can be used for internal relay or internal
register.
● Link relay (L) allocation example:

WL0 System register


Receiving area Settings
19 No. Setting range for PLC link
20 40 Range setting for link relay (WL) 64
Use as link Sending area Starting number of sending (Initial
42 0
word No.) for link relay (WL)
39
40 Size of Link relay (WL) sending
43 20
Receiving area area
49
50
In the above example, 14 words from WL50 to WL63
Unused Internal relay (224 points from L500 to L63F) can be used as internal
63 relay.

● Link register (Ld) allocation example


WL0 System register
Receiving area Settings
19 No. Setting range for PLC link
20 41 Range setting for link relay (Ld) 100
Use as link Sending area Starting number of sending (Initial
44 40
word No.) for link relay (WL)
39
40 45 Size of link relay (Ld) sending area 40
Receiving area
In the above example, 28 words from Ld100 to Ld127
49
50
can be used as internal register.
Unused Internal relay
63

Retentive/Not retentive link area setting


● Link relay (L) and link register (Ld) can be set as either retentive or
not retentive.
● Initial No. of retentive area can be set from system register No.10 to
No.12.
● Areas prior to the selected No. are all set as not retentive. (All areas
are set as retentive by factory default.)

Setting System
Setting item
range register No.

PLC link 0 PLC link 0 link relay 0 to64 10


or PLC link 1 link relay 64 to 128 11
PLC link 1
→ Initial No. of
PLC link 0 link register 0 to 128 12
retentive
area(Unit:World)
PLC link 1 link register 128 to 256 13

ATTENTION Although receiving area is set to retentive


area, the values are not maintained.

33
PLC Link Sample Program
System configuration and system register setting
When No.1 link unit X10 turns ON, Y50 of No.2 unit is sent out. When
No.1 unit X11 turns ON, Y60 of No.3 unit is sent out.

X11 : ON X10 : ON Y50 : ON Y60 : ON

Link Unit No.1 No.2 No.3

System register setting


System register Settings for each link unit
No. Setting range for PLC link 0 Link No.1 Link No.2 Link No.3
40 Range setting for link relay (WL) 64 64 64
41 Range setting for link register (Ld) 128 128 128
42 Starting number of sending (Initial word No.) for link relay (WL) 0 20 40
43 Size of Link relay (WL) sending area 20 20 24
44 Starting number of sending (Initial word No.) for link relay (Ld) 0 40 80
45 Size of link relay (Ld) sending area 40 40 48

Link relay (L) allocation example:

WL0 WL0 WL0


Sending area N o.1 Receiving area N o.1
19 19
Receiving area
20 20 N o.2
N o.2 Sending area
Receiving area 39 39
40 40
N o.3 N o.3 Sending area
Receiving area
63 63 63

Link U nit N o.1 N o.2 N o.3

Link relay (L) allocation example:

Ld0 Ld0 Ld0


Sending area N o.1 Receiving area N o.1
39 39
Receiving area
40 N o.2 40 N o.2
Sending area
Receiving area 79 79
80 80
N o.3 N o.3 Sending area
Receiving area
127 127 127

Link U nit N o.1 N o.2 N o.3

34
Sample program

Link Unit No.1 program


X10 L0
[ ] Link Unit No.2 start of operation

X11 L1
[ ] Link Unit No.3 start of operation

( ED )

Link Unit No.2 program


L0 Y50
[ ] Y50 output

( ED )

Link Unit No.3 program


L1 Y60
[ ] Y60 output

( ED )

35
Operation Status Check in Link Communication
● Operation status of each PLC and network errors can be identified
on PLC in PLC link communication.
● Operation status and errors are saved into special relay (R) or
special data register (DT).
It is convenient to use for PLC operation check or error handling by
ladder program.

Unit No. of link unit operating in PLC link Operation status of PLC running in PLC
mode link mode
Unit Nos are assigned to each special unit Unit Nos are assigned to each special unit
shown below, and it turns ON when there is shown below, and operation status of PLC
any unit running in PLC link mode. running in PLC link mode are reflected.
Special relay No. ON in RUN mode, OFF in PROG mode.
Link Unit No. * Convenient to use for status check of other
PLC link 0 PLC link 1
PLCs with remote programming.
R9060 R9080 1
Special relay No.
R9061 R9081 2 Link Unit No.
PLC link 0 PLC link 1
R9062 R9082 3
R9070 R9090 1
R9063 R9083 4
R9071 R9091 2
R9064 R9084 5
R9072 R9092 3
R9065 R9085 6
R9073 R9093 4
R9066 R9086 7
R9074 R9094 5
R9067 R9087 8
R9075 R9095 6
R9068 R9088 9
R9076 R9096 7
R9069 R9089 10
R9077 R9097 8
R906A R908A 11
R9078 R9098 9
R906B R908B 12
R9079 R9099 10
R906C R908C 13
R907A R909A 11
R906D R908D 14
R907B R909B 12
R906E R908E 15
R907C R909C 13
R906F R908F 16
R907D R909D 14
R907E R909E 15
R907F R909F 16

36
Precautions for PLC Link Communication
Unit No. duplicate error between link units
● When information from other PLC is received via PLC link
communication, and the sending and receiving Link Unit Nos. are
the same, Unit No. duplicate error occurs.
● ERR LED flickers and special relay shown below turns ON.
Duplicate error location can be identified by ON/OFF status of
special relay.
● ERR LED also flickers in the case of transmission failure or link area
allocation duplicate error.
Such types of errors stop the sending.
Special relay No. Event
R9050 Duplicate detected on LOOP 1 (Network 1)
R9051 Duplicate detected on LOOP 2 (Network 2)
R9052 Duplicate detected on LOOP 3 (Network 3)

[Error correction]
Change Unit No. of one of the duplicate link units to an unused
number.

Precautions for link area allocation


When link area allocation is incorrect, an error occurs and disables
normal communication.
● When sending data from sending area to receiving area of other
PLC, link relay (L) and link register (Ld) with the same number must
exist on the receiving unit. In the example below, there is a
duplicate area between No.2 and No.3 link relays (L), which causes
an error and disables communication. (ERR LED flickers.)
● Link relay (L) allocation example:

WL0 WL0 WL0


Sending area N o.1 Receiving area N o.1
Receiving area
19 19
20 20
N o.2 Sending area 29
Duplicate
Receiving area 39
40 40 Sending area
N o.3 Receiving area
63 63 63
Link U nit N o.1 N o.2 N o.3

System register Settings for each link unit


No. Setting area for PLC link 0 Link No.1 Link No.2 Link No.3
40 Range setting for link relay (WL) 64 64 64
Starting number of sending (Initial word
42 0 20 30
No.) for link relay (WL)
43 Size of Link relay (WL) sending area 20 20 34

37
Impossible allocation example:
Allocations shown below cannot be used for link relay (L) and link
register (Ld) at the same time.

Receiving area divided Multiple division of sending/receiving area

Sending area Sending area Receiving area

Receiving area Sending area


Receiving area
Sending area Receiving area

Sending area Receiving area Sending area

● When link sending area duplicate error occurs, ERR LED flickers and
special relay shown below turns ON.
Link sending area) Identification of network with duplicate allocation
Special relay No. Event
R9050 Duplicate detected on LOOP 1 (Network 1)
R9051 Duplicate detected on LOOP 2 (Network 2)
R9052 Duplicate detected on LOOP 3 (Network 3)

Link sending area) Identification of duplicate unit


Special relay No. Event
DT90170 Duplicate detected on LOOP 1 (Network 1)
DT90200 Duplicate detected on LOOP 2 (Network 2)
DT90230 Duplicate detected on LOOP 3 (Network 3)

Unit No. 1 to 16 are assigned to each of 16 bits of special data register


shown above. Bit for unit with duplicate link area turns ON. (DT9170,
DT9200, and DT9230 for NX-CPU700 and NX-CPU70.)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

DT 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 (Unit No.)

[Ex] Unit No.14 is assigned.

For example, sending area is duplicate between Link Unit No.1 and
Link Unit No.3 on LOOP 1,
R9050 is set ON on Link Unit No.1 and "0000000000000100"(0004H) is
saved into DT90170.

NOTE Example of error identification process


1. Check ON/OFF status of special relays R9050 to R9052 when ERR LED is ON.
2. Identify network (Network 1, 2 or 3) from the No. of special relay which is ON.
3. Check Unit No. setting switch of the link unit connected to the network with
error. If Unit No. is duplicate, change the number to a new one.
4. If Unit No. is not duplicate, read the special data register status of network with
error to find out whether there is a duplicate (sending) area of link units.

38
Connecting PLC link 0 and PLC link 1
When establishing PLC link communication by connecting PLC link 0
unit and PLC link 1 unit, be careful when allocating areas or starting
transmission because link areas allocated to each unit are different.

PLC link 1 PLC link 0


Link Unit No.1 Link Unit No.2

C C
P P
U U
PLC link 0

When establishing PLC link communication between PLCs connected


as illustrated above, you need vacant numbers for PLC link 0 areas to
handle PLC link 1 data.

<For link relay (WL)>

W L0 W L0 Sending area

n Receiving area
L: 64 Words
(m -6 4 0 )
W L63 W L6 3
W L64 W L6 4
c No.2 → No.1 sending: n is
(L 6 4 0 +n )
received as (640+n).
m
② d No.1 → No.2 sending: m is
W L127 W L1 2 7 received as (m-640).

Link Unit No.1 Link Unit No.2


PLC link 1 PLC link 0

<For link register (Ld)>

Ld 0 Ld0 Sending area



n Receiving area
Ld: 128 Words
(m -1 2 8 )
L d1 2 7 Ld127
L d1 2 8 Ld128
(Ld 1 28 + n )
c No.2 → No.1 sending: n is
m received as (128+n).

Ld 255 Ld255 d No.1 → No.2 sending: m is
received as (m-128).
Link Unit No.1 Link Unit No.2
PLC link 1 PLC link 0

Ex1) In the figure above, if link relay L10F of Link Unit No.2 is sent to
Unit No.1, the data is stored in link relay L74F (640+100F) of Unit No.1.
Ex2) In the figure above, if link register Ld130 of Link Unit No.1 is sent
to Unit No.2, the data is stored in link register Ld2 (130-128) of Unit
No.1.

39
Data Transmission
This function makes it possible to transmit and receive a batch of
different contact points or a large volume of data among PLCs that are
networked through the MW-link unit. Data transmission is controlled
with PLC user program ladder instructions (F145/ P145, F146/ P146).
Up to 32 units per 1 network are allowed for this function, regardless
of PLC link mode selection.

F145 (SEND) P145 (PSEND) Sending data (MW-Link Network)

When PLC is connected to network with MW-Link, these instructions


can send contact data between PLCs using sequence program. The
instruction also sends (writes) data of pre-assigned memory area
(contact and register) of slave stations by bit or word. Up to 16 words
can be sent at a time, when using MW-Link unit in W-mode. (1,020
words in W2-mode.)

Ladder indication Mnemonic indication

Address Instruction
X0 10 ST X 0
10 [ F145 SEND, DT0, LD30, WR0, K10 ] 11 F145 (SEND)

S1 S2 D N DT 0
LD 30
WR10 WR 0
K 10

Word operand (memory area) types that can be defined (Processing unit: word)
( ○ : available ⎯: Not available) I=I0 to ID
Constant Index
Description (F152, RMRD) WX WY WR WL SV EV DT Ld FL I
K H f Formula
Initial number of word
S1 operand that contains ○ ○ ○ ○ ○ ○ ○ ○ ○ ⎯ ⎯ ⎯ ⎯ ○
control data
Setting Word operand
S2 slave that contains data ○ ○ ○ ○ ○ ○ ○ ○ ○ ⎯ ⎯ ⎯ ⎯ ○
station to send
Word operand to
D Setting save received data ⎯ ○ ○ ○ ○ ○ ○ ○ ○ ⎯ ⎯ ⎯ ⎯ ⎯
corresp- (Set to No. 0)
onding
Word operand to
N station ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ○ ○ ⎯ ○
save sent data

* Use IX or IY instead of "I", when using NX70 PLC NX70-CPU70 or NX700 PLC NX-CPU700 unit.

40
Operation description
● Data of slave station S2 is sent to memory area (word operand) of
corresponding station assigned as D and N.
● Corresponding station (Loop No, Unit No.), transmission unit (bit,
word), and transmission method are set by control data S1.
SEND instruction

S2 D, N
Data
Slave Corresponding
station station

Slave station:PLC where SEND


instruction is written.

Assigning each item

Control data [S1]


1. Corresponding station setting
Set corresponding station with Loop No. and Link Unit No. PLC on
the same network? PLC on network in different layer? Settings can
differ depending on these factors.
2. Setting transmission unit and method
Data amount (word number) for sending by word, or relevant bit
location for sending by bit can be configured.
● Word operand (memory area) on the slave station setting [S2]
Setting slave station word operand (memory area) that contains
data to send.
Ex) DT5, WR6, FL100.....
● Word operand on corresponding station setting [D] [N]
Setting word operand of corresponding stations where to save send
data. Setting by combination of type D and address N.
Ex) D: WR0, N: K13 ---> WR13.

Send to PLC on the same network


Control data S1 and S1+1
Set control data as H constant, and make sure to assign 2 words (S1,
S1+1). S1 defines transmission unit and method, and S1+1 defines
corresponding station No.

Setting transmission unit and


Setting corresponding station
number of words to send

S1+1 S1

41
S1
Sending by word
When sending data by the word, the pre-set number of words are
saved from the initial address of corresponding station word operand
set as D and N. Up to 16 words can be sent at once, when using W-Link
or Optical Link.
(Up to 1,020 words when MW-Link is in W-2 mode.)
15 12 11 - - 8 7 - - 4 3 - - 0
S1

H0 Setting
Number of words to send
H001 to H010 (1 to 16) setting
Number of words to send
H001 to H3FC (1 to 1020) setting
(* MW-Link W2-mode)
Ex) When sending 10 words, set K10 (H000A) for S1.
When sending 5 words, set K5 (H0005) for S1.
Sending by the bit
When sending data by the bit, the pre-set bit information is sent from
slave station word operand to corresponding station word operand set
as D and N.
15 12 11 - - 8 7 - - 4 3 - - 0
S1

Slave station bit No.:


H0 to HF (0 to 15)
H0 setting
Corresponding station bit No.:
H0 to HF (0 to 15)
H8 setting
Ex) When sending data at bit 15 from slave station word operand to bit 0 of
corresponding station word operand, set H800F for S1.

S1+1
Setting corresponding station (Common for sending bit and word)
15 12 11 - - 8 7 - - 4 3 - - 0
S1

UNIT No.: H1 to H40 (1 to 64)


LOOP No.: H1 to H8 (1 to 8)
H0 setting

MW-Link unit (W-mode) MW-Link unit (W2-mode)


Link Unit No. setting H01 to H20 (1 to 32)
Link Loop No. setting H1 to H3 H1 to H8

NOTE Unit No. should be set as hexadecimal.

42
When sending simultaneously to all corresponding stations
When network is formed only with NX700 (NX-CPU750A, CPU750B,
CPU750C, CPU750D) PLC and NX70 (NX70-CPU750) PLC, the same
data can be sent to all corresponding link stations on the same
network at the same time, by entering FF for Unit No. of corresponding
station S1+1 Bit0 to Bit7.

Description of the program on the previous page (operation)

Example of sending by the word

WR10
X0
[F145 SEND, DT0, LD30, WR0, K10 ]

DT0 (S1) = H 0 0 0 5 DT1 (S1+1) = H 0 1 0 A


Word 5 words Loop No.1 Link Unit
No.10
All data above must be set as hexadecimal (H constant).
In the above program, when execution condition X0 is set to ON, 5
words of data from LD30 to LD34 are sent to WR10 to WR14 of Link
Unit No.10 PLC on Loop No.1 (same network).
Example of sending by the bit

WR10
X0
[F145 SEND, DT0, LD30, WR0, K10 ]

DT0 (S1) = H 8 5 0 D DT1 (S1+1) = H 0 1 0 A


Bit Slave station Loop No.1 Link Unit
bit No.13 No.10
Corresponding
station bit No.5

All data above must be set as hexadecimal (H constant).


In the above program, when execution condition X0 is set to ON, the
ON/OFF status of LD30 bit13 is sent to WR10 bit5 of Link Unit No.10
PLC connected on Loop No.1 (same network).

Layer link
● Layer link function enables communication (data transmission) to
PLC on other network, using 2 MW-Link units mounted on the same
backplane as relay stations.
● This function is only available for NX700 (NX-CPU750A, CPU750B,
CPU750C, CPU750D) PLC and NX70(NX70-CPU750) PLC.
● SEND instruction for layer link is described on the next page.

43
Sending to PLC in other layer (layer link)

What is layer link?


Layer link enables communication (data transmission) to PLC
connected to other network, using 2 MW-Link units mounted on the
same backplane as relay stations.

(Ex) Communication with CPU unit in layer 1 Ex) Communication with CPU unit in layer 3
(Sending data from CPU1 to CPU5)
Relay

Power unit

Power unit
Slave station
Power unit

source unit

CPU1

CPU2
Link

Link
Link

Link
Link
CPU

Layer 0
● ● ●

Relay station
Power unit Layer 0 Layer 1
CPU unit

Power unit

Power unit
● Link unit

CPU4

CPU3
Link

Link

Link
Link

Link
Relay unit
● ● ● ●
● Link unit
Layer 1
Layer 2
Power unit

Power unit
Corresponding unit
Link
CPU

CPU4

Link
Layer 3
● Corresponding station ●

Communication is available up to layer 3


with relay stations.

Control data [S1]


Set control data as H constant. S1 defines transmission unit and
method, and S1+1 defines corresponding station (relay source unit,
relay unit, and corresponding unit). In addition, (Layer +3) words are
necessary.
Ex) Control data when setting corresponding station in layer 3
(See the above examples)
corresponding station setting
Relay station and

S1 Setting transmission unit and method


S1+1 Slave station Layer (H03) CPU1

S1+2 Relay source Relay CPU2


S1+3 Relay source Relay CPU3
S1+4 Relay source Relay CPU4
S1+5 Corresponding CPU5
H00
station

NOTE : Same network


: Same backplane

Set relay source as network Unit No., and relay as Loop No. on
backplane.

44
Setting sending by the word
When sending data by the word, the pre-set number of words are sent
from slave station word operand set as S2, and saved from the initial
address of corresponding station word operand set as D and N. Up to
16 words can be sent at the same time.
(Up to 1,020 words in W2-mode)
15 12 11 - - 8 7 - - 4 3 - - 0
S1

H0 setting Number of words to send H001 to H010 (1 to 16)

Ex) When sending 10 words, set K10 (H000A) for S1.

Setting sending by the bit


When sending data by the bit, the pre-set bit information is sent from
slave station word operand set as S2 to corresponding station word
operand set as D and N.
15 12 11 - - 8 7 - - 4 3 - - 0
S1

Bit No. of slave station


area: H0 to HF (0 to 15)
H0 setting
Bit No. of corresponding station
area: H0 to HF (0 to 15)
H8 setting
Ex) When sending data in bit 15 of slave station memory area to bit 0 of
corresponding station memory area, set H800F for S1.

Setting Corresponding Station (Common for Word/Bit)


Loop No. and layer setting
15 12 11 - - 8 7 - - 4 3 - - 0
S1+1

H8 setting Layer of corresponding station: H01 to H03


Slave station LOOP No.: H1 to H8

Setting relay station


Like layer set as S1+1, set layer 2 as S1+3, layer 3 as S1+4, and so on.
15 12 11 - - 8 7 - - 4 3 - - 0
S1+2

Layer 1 relay source Unit No.: Layer 1 relay LOOP No.: H01 to H08
H01 to H40 (1 to 64)

Corresponding station setting


Set corresponding station right after the relay station. (n = layer + 2)
15 12 11 - - 8 7 - - 4 3 - - 0
S1+n

Corresponding station Unit H00 setting


No.: H1 to H40 (1 to 64)

45
(Ex) Program on the operation description page
In this example, 5 words of data from LD30 to LD34 of slave station
(CPU1) are sent to Link No.10 (CPU5) WR10 in layer 3, as illustrated
below.
1 1 2 3

Power unit

Power unit
CPU1

CPU2
Link

Link
Link

Link
● ● ●

No.2

1 2 3 4 1 2 3
Power unit

Power unit
CPU4

CPU3
Link

Link

Link
Link

Link
● ● ● ●

No.16 No.2
Power unit

LD30
to
CPU5

Link
LD34

No.10

WR10 to WR14

In this example, control data starting from DT0 (layer 3 – 6 words) should be
set → as follows: Sending 5 words of data. → DT0 = H0005

CPU1 Loop 1 DT1=H8103


Layer 0
CPU2 No.2 DT2=H0203
CPU2 Loop 3
Layer 1
CPU3 No.2
DT3=H0201
CPU3 Loop 1
Layer 2
CPU4 No.16
DT4=H1002
CPU4 Loop 2
Layer 3
CPU5 No.10 DT5=H0A00

46
Receiving data (MW-Link, W-Link, and
F146 (RECV) P146 (PRECV) Optical Link Network)
When PLC is connected to network with MW-Link, these instructions
can receive contact data between PLCs using sequence program. The
instruction also receives (reads) data of pre-assigned memory area
(contact and register) of slave stations by bit or word. Up to 16 words
can be received at a time, when using MW-Link unit in W-mode. (1,020
words in W2-mode.)

Ladder indication Mnemonic indication

Address Instruction
X0
10 ST X 0
10 [ F146 RECV, DT5, WR0, K0, DT30 ]
11 F146 (RECV)
S1 S2 N D
DT 5
WR0 WR 0
K 0
Separate program is not needed on corresponding station PLC.
DT 30

Word operand (memory area) types that can be defined (Processing unit: word)
( ○ : available ⎯: Not available) I=I0 to ID
Constant Index
Description (F146, SECV) WX WY WR WL SV EV DT Ld FL I
K H f Formula
Initial number of word
S1 operand that contains ○ ○ ○ ○ ○ ○ ○ ○ ○ ⎯ ⎯ ⎯ ⎯ ○
control data
Setting
Word operand to
corresp-
S2 save received data ○ ○ ○ ○ ○ ○ ○ ○ ○ ⎯ ⎯ ⎯ ⎯ ⎯
onding
(Set to No. 0)
station
Word operand to
D ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ ○ ○ ⎯ ○
Setting save received data
slave Word operand that
N station contains data to ⎯ ○ ○ ○ ○ ○ ○ ○ ○ ○ ⎯ ⎯ ⎯ ○
receive

* Use IX or IY instead of "I", when using NX70 PLC NX70-CPU70 or NX700 PLC NX-CPU700 unit.

Operation description
● When connected with SECNET (MW- (Request receiving)
Link, W-Link and Optical Link unit), read
data from corresponding station D S2, N
memory area assigned as S2 and N and Data
Slave Corresponding
save the data into slave station station station
NX700 PLC
memory area (word operand) assigned
as D.
● Corresponding station (Loop No., Unit
No), transmission unit (bit, word),
transmission method, etc are set by S1.
Set corresponding station as S1.
of control data.
Slave station: PLC where RECV instruction is written.

47
Assigning each item
Control data [S1]

1. Corresponding station setting


Set corresponding station with Loop No. and Link Unit No. PLC on
the same network? PLC on network in different layer? Settings can
differ depending on these factors.
2. Setting transmission unit and method
Data amount (word number) for sending by word, or relevant bit
location for sending by bit can be configured.
● Word operand on corresponding station [S2] [N]
Corresponding station word operand that contains data to receive
can be configured with combination of type S2 and address N.
Ex)S2: WR0, N: K10 → WR10.
● Word operand (memory area) on the slave station [D]
Setting slave station word operand (memory area) that contains
data received from corresponding station.
Ex) DT5, WR6, FL100.....

Receiving from PLC on the same network


Control data S1 and S1+1
Set control data as H constant, and make sure to assign 2 words (S1,
S1+1). S1 defines transmission unit and method, and S1+1 defines
corresponding station No.

Setting transmission unit and


Setting corresponding station
number of words to send

S1+1 S1

S1
Setting for receiving by the word
When receiving by the word, pre-set number of words of data from
corresponding station word operand assigned as S2 and N is saved to
slave station word operand starting from D. Up to 16 words can be
received at once, when using W-Link or Optical Link. (Up to 1,020
words when MW-Link is in W-2 mode.)
15 12 11 - - 8 7 - - 4 3 - - 0
S1

H0 Setting Number of words to send


H001 to H010 (1 to 16) setting
Number of words to send
H001 to H3FC (1 to 1020) setting
(* MW-Link W2-mode)
Ex) When receiving 10 words, set K10 (H000A) for S1.
When receiving 5 words, set K5 (H0005) for S1.

48
Setting for sending by the bit
When receiving by the bit, the selected bit information from
corresponding station word operand assigned as S2 and N is received
by selected bit of slave station word operand assigned as D.
15 12 11 - - 8 7 - - 4 3 - - 0
S1

Corresponding station bit


No.: H0 to HF (0 to 15)
H0 setting
Slave station bit No.:
H0 to HF (0 to 15)
H8 setting

S1+1
Setting corresponding station (Common for sending bit and word)
15 12 11 - - 8 7 - - 4 3 - - 0
S1+1

UNIT No.: H1 to H40 (1 to 64)


LOOP No.: H1 to H8 (1 to 8)
H0 setting

MW-Link unit (W-mode) MW-Link unit (W2-mode)


Link Unit No. setting H01 to H20 (1 to 32)
Link Loop No. setting H1 to H3 H1 to H8

NOTE Unit No. should be set as hexadecimal.

49
Description on the program on the previous page (operation)
Example of receiving by the word

W R0
X0
[F146 RECV, DT5, WR0, K0, DT300 ]

DT5 (S1) = H 0 0 0 5 DT6 (S1+1) = H 0 1 0 A


Word 5 words Loop No.1 Link Unit
No.10
All data above must be set as hexadecimal (H constant).
In the above program, when execution condition X0 is ON, 5 words of
data from WR0 to WR4 of Link Unit No.10 connected to Loop No.1
(same network) are received to slave station DT30 to DT34.
Example of receiving by the bit

W R0
X0
[F146 RECV, DT5, WR0, K0, DT300 ]

DT5 (S1) = H 8 5 0 D DT6 (S1+1) = H 0 1 0 A


Bit Corresponding Loop No.1 Link Unit
station bit No.13 No.10
Slave station
bit No.5

All data above must be set as hexadecimal (H constant).


In the above program, when execution condition X0 is ON, bit 13 ON/
OFF status data from WR0 of Link Unit No.10 connected to Loop No.1
(same network) is received by DT30 bit 5 of slave station.

Layer link
● Layer link function enables communication (data transmission) to
PLC on other network, using 2 MW-Link units mounted on the same
backplane as relay stations.
● This function is only available for NX700 (NX-CPU750A, CPU750B,
CPU750C, CPU750D) PLC and NX70(NX70-CPU750) PLC.
● RECV instruction for layer link is described on the next page.

50
Receiving by PLC in other layer (layer link)
What is layer link?
Layer link enables communication (data transmission) to PLC
connected to other network, using 2 MW-Link units mounted on the
same backplane as relay stations.

(Ex) Communication with CPU unit in layer 1 Ex) Communication with CPU unit in layer 3
(Sending data from CPU5 to CPU1)
Relay

Power unit

Power unit
Slave station
Power unit

source unit

CPU1

CPU2
Link

Link
Link

Link
Link
CPU

Layer 0
● ● ●

Relay station
Power unit Layer 0 Layer 1
CPU unit

Power unit

Power unit
● Link unit

CPU4

CPU3
Link

Link

Link
Link

Link
Relay unit
● ● ● ●
● Link unit
Layer 1
Layer 2
Power unit

Power unit
Corresponding unit
CPU

Link

CPU4

Link
Layer 3
● ●
Corresponding station

Communication is available up to layer 3


with relay stations.

Control data [S1]


Set control data as H constant. S1 defines transmission unit and
method, and S1+1 defines corresponding station (relay source unit,
relay unit, and corresponding unit). In addition, (Layer +3) words are
necessary.
Ex) Control data when setting corresponding station in layer 3
(See the example on the left bottom)
corresponding station setting
Relay station and

S1 Setting transmission unit and method


S1+1 Slave station Layer (H03) CPU1

S1+2 Relay source Relay CPU2


S1+3 Relay source Relay CPU3
S1+4 Relay source Relay CPU4
S1+5 Corresponding CPU5
H00
station

NOTE : Same network


: Same backplane

Set relay source as network Unit No., and relay as Loop No. on
backplane.

51
Setting sending by the word
When receiving by the word, pre-set number of words of data from
word operand assigned as S2 and N is saved to slave station word
operand starting from D.
Up to 16 words can be sent at the same time.
(Up to 1,020 words in W2-mode)
15 12 11 - - 8 7 - - 4 3 - - 0
S1

H0 setting Number of words to receive H001 to H010 (1 to 16) setting

Ex) When sending 10 words, set K10 (H000A) for S1.

Setting sending by the bit


When receiving by the bit, selected bit information of word
corresponding station word operand assigned as S2 and N are
received by the selected bit of slave station word operand assigned
as D.
15 12 11 - - 8 7 - - 4 3 - - 0
S1

Bit No. of corresponding


station area: H0 to HF (0 to 15)
H0 setting
Bit No. of slave station area:
H0 to HF (0 to 15)
H8 setting
Ex) When receiving by bit 15 of slave station word operand, set H8F00 for S1.

Setting corresponding station (Common for word/bit)

Loop No. and layer setting


15 12 11 - - 8 7 - - 4 3 - - 0
S1+1

H8 setting Layer of corresponding station: H01 to H03


Slave station LOOP No.: H1 to H8

Setting relay station


Like layer set as S1+1, set layer 2 as S1+3, layer 3 as S1+4, and so on.
15 12 11 - - 8 7 - - 4 3 - - 0
S1+2

Layer 1 relay source Unit No.: Layer 1 relay LOOP No.: H01 to H08
H01 to H40 (1 to 64)

Corresponding station setting


Set corresponding station right after the relay station. (n = layer + 2)
15 12 11 - - 8 7 - - 4 3 - - 0
S1+n

Corresponding station Unit H00 setting


No.: H1 to H40 (1 to 64)

52
(Ex) Program on the operation description page
The figure below shows an example of receiving data from WR0 to
WR4 of Link No.10 in layer 3 by to DT30 to DT34 of slave station CPU1.
1 1 2 3

Power unit

Power unit
CPU1

CPU2
Link

Link
Link

Link
● ● ●

No.2

1 2 3 4 1 2 3
Power unit

Power unit
CPU4

CPU3
Link

Link

Link
Link

Link
● ● ● ●

No.16 No.2
Power unit

DT30
to
CPU5

Link

DT34

No.10

WR0 to WR4

In this example, control data starting from DT5 (layer 3 - 6 words) should be
set → as follows: Sending 5 words of data. → DT0 = H0005

CPU1 Loop 1 DT6=H8103


Layer 0
CPU2 No.2 DT7=H0203
CPU2 Loop 3
Layer 1
CPU3 No.2
DT8=H0201
CPU3 Loop 1
Layer 2
CPU4 No.16
DT9=H1002
CPU4 Loop 2
Layer 3
CPU5 No.10 DT10=H0A00

Precautions for programming


● Multiple SEND (F145) and RECV (F146) instructions cannot be
executed at the same time. SECNET transmission permission.
Write program that is executed when flag R9030 turns ON.
0: Not executable (SEND/ RECV instruction is running)
R9030
1: Executable

● SEND instruction only executes send request, and the actual


processing starts when ED instruction is run. Check if sending is
complete using SECNET transmission complete flag R9031.
0: Normal completion
R9031
1: Termination (Error code to DT90039)

53
On termination (R9031:ON), error specifications are stored into the
DT90039
error code.

NOTE Refer to each link unit manual for error code specifications. Error codes H71 to H73
indicate communication time error.
Time out settings can be changed within the range of 10.0ms to 81.9s (10ms unit)
in system register No.32. Default is 2s.

Code (HEX) Error specification


71 Sending Answer Standby Time-Out
72 Standby time-out with empty sending buffer
73 Response standby time-out

● Do not send data to inside of special relay or special register.

Program sample using multiple SEND/ RECV instructions


Execution
condition c R9030 R0 R2
Executable/Non-executable check
with R9030
R2
[ F145 SEND, DT0, WR0, DT0, K10 ] c Data send instruction

R2
KP
Reset condition d R 1

Execution
condition c R9030 R1 R3
Executable/Non-executable check
with R9030
R3
[ F146 RECV, DT5, DT0, K10, DT20 ] d Data receive instruction

R3
KP
Reset condition e R 0

NOTE In this program, simultaneous c and d data transmission is prevented with KP


instruction, using R0 and R1 internal relays.

54
Remote Programming
● Remote programming enables controls over remote PLC, just like
when connecting directly to programming tool (WinFPST S/W).
● If PLC system is connected with MW-Link, controls including
programming, system register setting (link area allocation), special
relay monitoring and forced I/O by using PLC programming tool
connected nearby.
Up to 32 units per 1 network are allowed for this function,
regardless of PLC link mode selection.

CCU
No.5 PLC No.6 PLC No.7 PLC No.9 PLC Unit

Connect to
CCU
Remote Max. 32 connections Computer link
programming
BASIC
N0.5 PLC data READ C language
COMMAND sending (%05#RDD.....)
NO.9 PLC RESPONSE receiving (%05$WRDD...)
ladder program

55
Error Check
When CPU unit ERROR LED is ON

Situation
MW-Link unit ERR LED is On/Flickering.
< Procedure c >
Make sure that all units are correctly mounted to backplane.

< Procedure d >


Check if power unit POWER LED is ON.
When POWER LED is not ON, See “Troubleshooting” in the system
manuals of relevant PLC.

< Procedure e >


Check if CPU unit ALARM LED and ERROR LED are ON.
See “Troubleshooting” in the system manuals of relevant PLC.

W. Check W-2 mode


< Procedure c >
Check the operation mode setting switch if the function mode is
correctly configured.
Mode setting switch
Operation Checklist
For NX70 PLC System For NX700 PLC System
Check if all MW-Link units on the same Bottom of unit Bottom of unit
network are set to W-mode. “Mode setting switch (2)” “Mode setting switch”
W-mode
(If units in different modes are connected 1 5
together, an error occurs.) OFF ON OFF ON

Check if all MW-Link units on the same Bottom of unit Bottom of unit
network are set to W2-mode. “Mode setting switch (2)” “Mode setting switch”
W2-mode
(If units in different modes are connected 1 5
together, an error occurs.) OFF ON OFF ON

* Turn the power OFF when changing mode setting switch.

56
Check the ERR LED On/Flickering status

Situation
MW-Link unit ERR LED is On/Flickering.
< Procedure c >
When ERR LED is ON, turn the power ON and OFF several times

< Procedure d >


When ERR LED is flickering, take the following steps depending on the
situation.
ERR. LED status processing
Check parameter configuration program and whether link area
Flickering (Approx. 0.2s allocation is duplicate. (Change to an unused area.)
interval) Sometimes,
COM. LED is ON Check parameter configuration program and whether Unit No.
is duplicate
Flickering (Approx. 0.2s
Check if Unit No. is within the range of 1 to 64 and restart the
interval) Sometimes,
system.
COM. LED is OFF.

* If operation does not recover to normal status after taking all necessary measures
described above, contact us.
When there are spare link units, replace the error units and check the operation.

57
Checking in the Case of Transmission Error

Situation
In case of transmission error
< Procedure c >
Check if transmission cables are correctly connected to positive and
negative terminals of each link unit.

Transmission path Transmission path Transmission path


connection terminal connection terminal connection terminal
Transmission Transmission
cable cable

Shield Shield

[RS485 interface] [RS485 interface] [RS485 interface]

< Procedure d >


Check if the transmission cables in use conform to permitted
specifications.
When checking, cables for the same network should have the same
specifications.

< Procedure e >


Check the status LED or switch to find out whether the units at the
ends of network are set as end stations.

Check with Special Relay (R) and Special Data Register (DT)
● Check the special relay.
When error occurs, special relays R9050 (LOOP1), R9051 (LOOP2),
and R9052 (LOOP3) are ON.
Link LOOP (LOOP No.1, LOOP No.2, LOOP No.3) with errors can be
identified.
● Check special data register.
When error occurs, the error specification is saved to special
register DT90161 (LOOP1), DT90163 (LOOP2), and DT90165
(LOOP3). Check the error code and take necessary steps.
* Error flag (DT90161, DT90163, DT90165)
Error specification is saved to the lower 4 bits. (No error: 0, error: 1)
7 6 5 4 3 2 1 0 (bit)

Transmission error (Link not


Unit No. Duplicate error
Link area allocation duplicate error
Unit No. Configuration error

58
3
Operation in W2-Mode

W2-Mode Function
PLC Link Communication
● The cyclic (repeated) transmission of data makes it possible for
PLCs to mutually control and share data.
This function is crucial for consistent process and PLC network by
enabling sharing of contacts and information among PLCs on the
network.
● Information is exchanged through link relay (L) or link register (Ld)
of each PLC.
Link relay 4096 points/Network
Link register: 4096 words/Network
● Up to 2 MW-Link units can be mounted on 1 CPU unit, providing
2 networks.
● PLC link can be used on up to 32 units on 1 network. (W2-mode)
● Link relay and link register in W2-mode define configuration of each
CPU unit on the same network. Therefore, link area allocation
should be defined by user program.
Following is an example of NX700 PLC program.

Twisted-pair cable
Link Unit No.1 Link Unit No.2

X0 L0 L0 Y0
( ) ( )

R0 R0
F0(MV) F0(MV)
WX1 Ld1
Ld1 WY1

The illustration above shows an example of PLC link communication.


● No.2 PLC Y0 control data can be changed by ON/OFF status at No. 1 PLC X0 (Link relay L0).
● No.2 PLC WY1 control data can be changed by data status (Link register Ld1) at No. 1 PLC
WX1. (No.1 PLC WX1 value is transferred to No.2 PLC WY1 through link register Ld1,
without complicated setting.)
See "PLC Link in W2-Mode" in Chapter 3 for details.

59
Data Transmission
This function makes it possible to transmit and receive a batch of
different contact points or a large volume of data among PLCs that are
networked through the MW-link unit. (1020 words per 1 instruction)
Data transmission is controlled with PLC user program ladder
instructions (F145/P145, F146/ P146). Up to 32 units per 1 network are
allowed for this function, regardless of PLC link mode selection.
Following is an example of NX700 PLC program.

Twisted-pair cable
Link Unit No.1 Link Unit No.2

to No.2FL.
R0
F145(SEND)
DT 0
DT 100
FL 0
K 0 Save data from
No.1 DT100

The illustration above shows an example of data transmission. (SEND (F145) instruction
input at Link Unit No.1 PLC) → Send No.1 PLC DT100 data to No.2 PLC FL0.
See "Data transmission" in Chapter 2 for general guides on data transmission.

Remote Programming
● Program for a PLC on MW-LINK network can be written on any PLC
on the network. Program editing (modification, deletion, addition)
and data READ/WRITE process can be carried out via programming
tool (WInFPST S/W) at a PLC for another PLC. See "Remote
Programming" in Chapter 2 for details.
● This function is particularly convenient for controlling PLCs on
network without moving programming tools.
● Up to 32 units per 1 network are allowed for this function,
regardless of PLC link mode selection.

Twisted-pair cable
Link Unit No.1 Link Unit No.2

Ladder program on
X0 Y20
PLC No.2 can be
Programming tool ( ) edited and
(WinFPST S/W) No.2PLC ladder X2 Y25 monitored from
( )
program programming tool
connected to PLC
No.1.

60
PLC Link in W2-Mode
Preparing for PLC Link
● When using PLC link in W2-mode, communication parameter must
be set with user program.

ATTENTION • Settings are not applied when parameter program is not


running in RUN mode.
• Settings are cleared on power OFF.
• Configure each link unit separately.
• Parameters are not necessary to set when PLC link is not
used.

● See "PLC Link Communication" in Chapter 2 for general guides on


PLC link.

Parameters Needed for Setting


All parameters in the following MAP should be configured. MAP
address No. is parameter setting address in W2-mode. See "PLC Link
Parameter List in W2-Mode" in Chapter 3 for details on parameter
codes.
MAP
Parameter code
address No.
0 Declaration of W2-mode (fixed value)
1 to 7 (H0000 fixed)
Operation status flag setting

8 to 10 Areas are secured for monitor output including operation status of each station and
error information. This flag enables monitoring on status of each PLC connected with
PLC link.
Error information output register setting
11 to 13
Secure register area for storing error specifications.
Link relay setting
14 to 16
Secure areas for relay types and transcription for PLC link.
Link register setting
17 to 19
Secure areas for register types and transcription for PLC link.
20 Link code setting (fixed value)
21 (H0000 fixed)
Execution station setting
22 to 25
Setting execution station for PLC link. (Station No.1 to No.64)
26 to 29 (H0000 fixed)
Link relay/link register area settings for PLC link breakdown
30 to 31
Setting whether to clear link relay/link register sending area on PLC link breakdown.
Duplicate error checking
32 to 33
Setting whether to check link relay/register duplicate error on PLC link breakdown
Sending area allocation
34 to 289 Sending area setting for relay/register in use, allocated to each station (Station No.1 to
No.64)
PLC link start-up switch
1023
Switching between permitting/blocking settings input to MAP.

61
Preparing Program
PLC link operation flowchart in W2-mode
Program operates in the following order. Write PLC link program that
carries out the following operations in RUN mode.
1. Preparing unit
• Setting MW-Link unit as W2-mode (Function setting switch)
• System start-up (Power unit ON)
• Set CPU unit to RUN mode

2. Parameter setting program (See next page)


• MAP program setting
• Settings including link relay/link register allocations necessary for PLC
link communication

3. Running user program


• Write a program that correctly serves purpose.

62
Parameter setting program flowchart
“2. Parameter Setting Program” described on the previous page goes
through the following workflow:
1. Preparing for input to MAP (Shared memory)
• Work area initialization
• Enter H0000 in all areas (Enter HFFFF in sending areas of link relay/link
register)

2. W2-mode, parameter input permission


• LOOP No. (Network No.) selection, declaration of parameter
transmission in W2-mode
• Setting PLC link breakdown and input permission to MAP address with
SEND instruction. (Send H0000 to MAP address No.1023)

3. Preparing parameter settings


• MAP parameter setting (See "W2-Mode Function" in Chapter 3 for
details.) The following parameters are stored in work area.
1) Parameter code setting
2) Operation status flag, error information output register setting
3) Area setting for link relay/link register
4) Link code setting
5) Execution station setting
6) Relay/register setting for PLC link breakdown
7) Link relay/link register duplicate error check setting
8) Link relay/link register sending area allocation

4. Sending settings
• Settings of “User Program Setting” are sent to MW-Link unit MAP by SEND
instruction.

5. W2-mode, PLC link start-up


• PLC operation start-up with SEND instruction (H0001 is sent to MAP address
No.1023)

ATTENTION • PLC link does not start and link relay/link register data is
not reflected until the step 5 above is complete.
• Be careful not to change work area data before parameter
setting program finishes.

63
Sample Program
Ex1) Y50 on Link Unit No.2 is sent out when input X10 of Link Unit
No.1 turns ON.
In addition, Y60 of Link Unit No.1 is sent out when input X20 of
Link Unit No.2 turns ON.

X10: ON X20: ON
Y60: Output Y50: Output

Link Unit No.1 Link Unit No.2

[Condition]
Item Setting
PLC link execution station No.1, 2
Operation status flag Using WR (WR20 to WR22, 3 words)
Error information output register Using Ld (Ld10 to Ld19, 10 words)
Link relay/register allocation As illustrated below
Relay/register on PLC link breakdown Do not clear
Address duplicate error Check

Link relay
WL0 WL0
10
Sending area words Receiving area
9 9
10 10
Receiving area Sending area 10 words
19 19
Link register
DT500 DT500
10
Sending area words Receiving area

509 509
510 510
Receiving area Sending area 10 words
519 519

● In the example, DT0 to DT289 and areas after DT290 are used for
parameter setting work areas.
DT0 to DT289 corresponds to each parameter sender (MW-Link
unit). In addition, these work areas can be freely used after SEND
instruction finishes. See "Data Transmission" in Chapter 2 about
SEND instruction.
● PLC link does not start and link relay/link register data is not
reflected, until parameter setting is complete (SEND instruction is
executed).
● When using together with W-mode, make sure there is no duplicate
with W-mode link relay (L) and link register (Ld).

64
Program example

Link Unit No.1 program

R9014
( NSTP 0 )
( SSTP 0 )
R9010
[ F11 COPY, H0, DT0, DT33 ] c Work area initialization
Sending work area
[ F11 COPY, HFFFF, DT0, DT289 ] initialization
Data transmission
[ F0 MV, H1, DT300 ] instruction control data
Number of words to send
[ F0 MV, H1AA , DT301 ] LOOP No. and Unit No. selected
(fixed) (AA is address for
[ F0 MV, H0, DT1023 ] parameter setting.)
Start-up switch OFF (Input
R9010 permission)
[ F145 SEND, DT300, DT1023, DT0, K1023 ]
Set input location as DT.
c Data transmission
R9030
instruction
( NSTP 1 )

Setting program
( SSTP 1 )
R9010
d Data transmission
[ F0 MV, K290, DT302 ] instruction control data
Number of words to send
[ F0 MV, H1AA , DT303 ]
LOOP No. and Unit No.
selected (fixed) (AA is address
[ F0 MV, H11, DT0 ] for parameter setting.)
Parameter code (fixed value)
[ F0 MV, H1, DT8 ]
WR code setting
[ F0 MV, K20, DT9 ]
Operation
Initial word No. status flag
[ F0 MV, K6, DT10 ] setting
Allocated word
number 3x2
[ F0 MV, H6, DT11 ]
Ld code setting
[ F0 MV, K10, DT12 ] Error
information
Initial word No. register
[ F0 MV, K20, DT13 ] setting
Allocated word
number 10x2
[ F0 MV, H0, DT14 ]
WL code setting
[ F0 MV, K0, DT15 ]
Initial word No. Link relay
setting
[ F0 MV, K40, DT16 ]
Allocated word
number 20x2

65
R9010
[ F0 MV, H9, DT17 ]
DT code setting
[ F0 MV, K500, DT18 ] Link
Initial word No. register
[ F0 MV, K40, DT19 ] setting
Allocated word
number 20x2
[ F0 MV, HFF, DT20 ]
Link code (initial value)
[ F0 MV, H3, DT22 ]
No. 1, 2 connection
[ F0 MV, H0, DT23 ]
No station connected Execution
[ F0 MV, H0, DT24 ] station
No station connected information
[ F0 MV, H0, DT25 ]
No station connected
[ F0 MV, H0, DT30 ]
Link relay
(Do not clear) On PLC link
[ F0 MV, H0, DT31 ]

Setting program
Link register breakdown
(Do not clear)
[ F0 MV, H0, DT32 ]
Link relay (Check): Duplicate
address
[ F0 MV, H0, DT33 ] error
Link register checking
(Check):
[ F0 MV, K0, DT34 ]
Link relay, 0 word No.1 link
from the starting of relay
sending area (10x2) sending area
[ F0 MV, K20, DT35 ] allocation
Allocated word (Note)
number 10x2
[ F0 MV, K0, DT36 ]
Link register 10 words No.1 link
from the starting of register
sending area (10x2) sending area
[ F0 MV, K20, DT37 ] allocation
Allocated word (Note)
number 10x2
[ F0 MV, K20, DT38 ]
Link relay, 0 word No.2 link
from the starting of relay
sending area (10x2) sending area
[ F0 MV, K20, DT39 ] allocation
Allocated word (Note)
number 10x2
[ F0 MV, K20, DT40 ]
Link register 10 No.2 link
words from the register
starting of sending sending area
[ F0 MV, K20, DT41 ] allocation
Allocated word (Note)
number 10x2
R9015
[ F145 SEND, DT302, DT0, DT0, K0 ]

d Data transmission instruction

NOTE See "PLC Link Parameter List in W2-Mode" in Chapter 3 for details on link relay/link
register sending area allocation, link relay/link register sending area setting (MAP
address No.34 to No.289).

66
R9030
( NSTP 2 )
( SSTP 2 )
R9015 e Data transmission
[ F0 MV, H1, DT300 ] instruction control data

Setting program
Number of words to send
[ F0 MV, H1AA , DT301 ]

[ F0 MV, H1, DT1023 ]


Stat-up switch ON
R9030 (Input blocking)
[ F145 SEND, DT300, DT1023, DT0, K1023 ]

R9030 e Data transmission instruction


( CSTP 2 )
( STPE )
X10 L0

User program
L100 Y60

ED

Link Unit No.2 program


R9014
( NSTP 0 )

Setting program
Setting program part can be shared by Link Unit No.1 setting
programs.

( STPE )
L0 Y50

User program
X20 L100

ED

Parameter settings must be configured at each unit program (setting


program), for all units in PLC link communication

67
Ex2) Y50 on Link Unit No.2, No.10, No.30 and No.64 is sent out when
input X10 of Link Unit No.1 turns ON.
In addition, Y60 of Link Unit No.1 is sent out when input X20 of
Link Unit No.2, No.10, No.30 and No.64 turns ON.

X10: ON X20: ON X20: ON


Y60: Output Y50: Output Y50: Output

Link Unit No.1 Link Unit No.2 Link Unit No.10

X20: ON X20: ON
Y50: Output Y50: Output

Link Unit No.64 Link Unit No.30

[Condition]
Item Setting
PLC link execution station No.1, 2, 10, 30, 64
Operation status flag Using WR (WR20 to WR25, 12 words)
Error information output register Using Ld (Ld0 to Ld9, 10 words)
Link relay/register allocation See the figure on the next page
Relay/register on PLC link breakdown Do not clear
Address duplicate error Check

● In the example, DT0 to DT289 and areas after DT290 are used for
parameter setting work areas.
DT0 to DT289 correspond to each parameter sender (MW-Link unit).
In addition, these work areas can be freely used after SEND
instruction finishes. See "Data Transmission" in Chapter 2 about
SEND instruction.
● PLC link does not start and link relay/link register data is not
reflected, until parameter setting is complete (SEND instruction is
executed).
● When using together with W-mode, make sure there is no duplicate
with W-mode link relay (L) and link register (Ld).

68
Link relay (L) allocation example

WL0 10 WL0 WL0


Sending area words Receiving area Receiving area
9 9 9
10 10 10 10
Receiving area Sending area words Receiving area
19 19 19
20 20 20 10
Receiving area Receiving area Sending area
29 29 29 words
30 30 30
Receiving area Receiving area Receiving area
39 39 39
40 40 40
Receiving area Receiving area Receiving area
49 49 49
Link Unit No.1 Link Unit No.2 Link Unit No.10

WL0 WL0
Receiving area Receiving area
9 9
10 10
Receiving area Receiving area
19 19
20 Receiving area 20 Receiving area
29 29
30 10 30
Sending area words Receiving area
39 39
40 40 10
Receiving area Sending area words
49 49
Link Unit No.30 Link Unit No.64

Link register (Ld) allocation example

DT500 10 DT500 DT500


Sending area words Receiving area Receiving area
509 509 509
510 510 10 510
Receiving area Sending area words Receiving area
519 519 519
520 520 520 10
Receiving area Receiving area Sending area
529 529 529 words
530 530 530
Receiving area Receiving area Receiving area
539 539 539
540 540 540
Receiving area Receiving area Receiving area
549 549 549
Link Unit No.1 Link Unit No.2 Link Unit No.10

DT500 DT500
Receiving area Receiving area
509 509
510 510
Receiving area Receiving area
519 519
520 Receiving area 520 Receiving area
529 529
530 10 530
Sending area words Receiving area
539 539
540 540 10
Receiving area Sending area
549 549 words
Link Unit No.30 Link Unit No.64

69
Program example

Link Unit No.1 program


R9014
( NSTP 0 )
( SSTP 0 )
R9010
[ F11 COPY, H0, DT0, DT33 ] Work area initialization

[ F11 COPY, HFFFF, DT34, DT289 ] Sending work area initialization


c Data transmission
[ F0 MV, H1, DT300 ] instruction control data
Number of words to send
[ F0 MV, H1AA , DT301 ]
LOOP No. and Unit No.
selected (fixed)
[ F0 MV, H0, DT1023 ]
Start-up switch OFF
R9010 (Input permission)
[ F145 SEND, DT300, DT1023, DT0, K1023 ]

c Data transmission Set input location as DT.


R9030
instruction
( NSTP 1 )
( SSTP 1 )
R9010 d Data transmission
[ F0 MV, K290, DT302 ] instruction control data

Setting program
Number of words to send
[ F0 MV, H1AA , DT303 ]
Slave station LOOP No. and
Unit No. selected (fixed)
[ F0 MV, H11, DT0 ]
Parameter code (fixed value)
[ F0 MV, H1, DT8 ]
WR code setting
[ F0 MV, K20, DT9 ] Operation
Initial word No. status flag
[ F0 MV, K24, DT10 ] setting
Allocated word
number 12x2
[ F0 MV, H6, DT11 ]
Ld code setting
[ F0 MV, K0, DT12 ] Error
information
Initial word No. register
[ F0 MV, K20, DT13 ] setting
Allocated word
number 10x2
[ F0 MV, H0, DT14 ]
WL code setting
[ F0 MV, K0, DT15 ] Link relay
Initial word No. setting
[ F0 MV, K100, DT16 ]
Allocated word
number 5x2
[ F0 MV, H9, DT17 ]
DT code setting
[ F0 MV, K500, DT18 ]
Initial word No. Link register
setting
[ F0 MV, K100, DT19 ]
Allocated word
number 50x2
[ F0 MV, HFF, DT20 ]
Link code
(fixed value)

70
R9010
[ F0 MV, H203, DT22 ]

[ F0 MV, H2000, DT23 ]


No. 30 connection Execution
[ F0 MV, H0, DT24 ] station
information
No station
[ F0 MV, H8000, DT25 ] connected
No. 64 connection
[ F0 MV, H0, DT30 ]
Link relay
(Do not clear) On PLC link
[ F0 MV, H0, DT31 ] breakdown
Link register
(Do not clear)
[ F0 MV, H0, DT32 ]
Link relay (Check): Check
[ F0 MV, H0, DT33 ] duplicate
address
Link register (Check): error
[ F0 MV, K0, DT34 ]
Link relay, 0 word
from the starting of No.1 link
sending area (0x2) relay
[ F0 MV, K20, DT35 ] sending area

Setting program
Allocated word allocation
number 10x2 (Note)
[ F0 MV, K0, DT36 ]
Link register 0 word No.1 link
from the starting of register
sending area (0x2) sending area
[ F0 MV, K20, DT37 ] allocation
Allocated word
number 10x2 (Note)
[ F0 MV, K20, DT38 ] Link relay, 10 words No.2 link
from the starting of relay
sending area (10x2) sending area
[ F0 MV, K20, DT39 ]
Allocated word allocation
number 10x2 (Note)
[ F0 MV, K20, DT40 ]
Link register 10 words No.2 link
from the starting of register
sending area (10x2) sending area
[ F0 MV, K20, DT41 ] allocation
Allocated word (Note)
number 10x2
[ F0 MV, K40, DT70 ] Link relay, 20 words No.10 link
from the starting of relay
sending area (20x2) sending area
[ F0 MV, K20, DT71 ]
Allocated word allocation
number 10x2 (Note)
[ F0 MV, K40, DT72 ]
Link register 20 words No.10 link
from the starting of register
[ F0 MV, K20, DT73 ] sending area (20x2) sending area
Allocated word allocation
number 10x2 (Note)
[ F0 MV, K60, DT150 ] Link relay, 30 words No.30 link
from the starting of relay
sending area (30x2) sending area
[ F0 MV, K20, DT151 ] allocation
Allocated word
number 10x2 (Note)

NOTE See "PLC Link Parameter List in W2-Mode" in Chapter 3 for details on link relay/link
register sending area allocation, link relay/link register sending area setting (MAP
address No.34 to No.289).

71
R9010
[ F0 MV, K60, DT152 ] Link register 30 words No.30 link
from the starting of register
sending area (30x2) sending
[ F0 MV, K20, DT153 ] area
Allocated word allocation
number 10x2 (Note)
[ F0 MV, K80, DT286 ] Link relay, 40 words No.64 link
from the starting of relay
sending area (40x2) sending
[ F0 MV, K20, DT287 ] area
Allocated word allocation
number 10x2 (Note)
[ F0 MV, K80, DT288 ]
Link register 40 words No.64 link
from the starting of register
sending area (30x2) sending
[ F0 MV, K20, DT289 ] area
Allocated word
number 10x2 allocation
R9015 (Note)

Setting program
[ F145 SEND, DT302, DT0, DT0, K0 ]

R9030 e Data transmission instruction


( NSTP 2 )
( SSTP 2 )
R9015 e Data transmission
[ F0 MV, H0, DT300 ] instruction control data
Number of words to send
[ F0 MV, H1AA, DT301 ]
[ F0 MV, H1, DT1023 ]
Start-up switch ON
R9030 (Input blocking)
[ F145 SEND, DT300, DT1023, DT0, K1023 ]
R9030 e Data transmission instruction
( CSTP 2 )
( STPE )
X10 L0

L100 Y60

User program
L200

L300

L400

ED

● Parameter settings must be configured at each unit program


(setting program), for all units in PLC link communication (In this
program, No.1, 2, 10, 30, and 64)
● Link Unit No.2, 10, 30, and 64 parameter setting program can be
shared with Link Unit No.1.

NOTE See "PLC Link Parameter List in W2-Mode" in Chapter 3 for details on link relay/link
register sending area allocation.

72
PLC Link Parameter List in W2-Mode
Map Address
Parameter Event
No.
0 Parameter code H0011 fixed
1 to 7 Unused H0000 fixed
Setting relay/register to be used for operation
status flag. Relays/registers in Table 1 are
available.
[Table 1. Link relay/link register code]
Relay/Register code
8 Area code WL H0000
WR H0001
Operation status flag
setting Ld H0006
Setting area for DT H0009
monitoring FL H000A
communication, operation
9 and error status of each Initial word No. Setting the initial word No. of used area.
station. This function can
Save the code in Table 2 according to the
be used to monitor status
connected station used for PLC link.
of stations connected with
PLC link. [Table 2. Area word number code]
Connected Number of words Set
Number of words station No. for used area code
10
for the area No.1 to NO.16 3 words K6
No.1 to NO.32 6 words K12
No.1 to NO.48 9 words K18
No.1 to NO.64 12 words K24

Setting relay/register to use as error


information output register. Relays/registers
in Table 1 are available.
Setting error information [Table 1. Link relay/link register code]
output register
Relay/Register code
Setting register area for
11 Area code WL H0000
output of error
specifications and history. WR H0001
See "Error Information Ld H0006
Output Register when
Using PLC Link in W2- DT H0009
Mode" in Chapter 3 for FL H000A
details including error
12 codes. Initial word No. Setting the initial word No. of used area.
Fixed value "K20" (Occupying 10 words.)
Number of words
13 (Enter H0000 (K0) as parameter when error
for the area
register is not used.

73
Map
Address Parameter Event
No.
Set use code in reference to Table 1.
[Table 1. Link relay/link register code]
Relay/Register Code
WL H0000
14 Area code WR H0001
Ld H0006
Link relay setting DT H0009
FL H000A

15 Initial word No. Setting initial address No. of link relay.


Setting area for link relay.
Number of words
16 Set double the necessary word number.
for the area
(Ex. For 50 words of area → K100)
Set use code in reference to Table 1.
[Table 1. Link relay/link register code]
Relay/Register Code
WL H0000
17 Area code WR H0001
Ld H0006
Link register setting DT H0009
RL H000A

18 Initial word No. Setting initial address No. of link register.


Setting area for link register.
Number of words
19 Set double the necessary word number.
for the area
(Ex. For 50 words of area → K100)
20 Link code H00FF fixed
21 Unused H0000 fixed
Execution station Execution station bit 15 14 12 - - - 8 - - - 4 - - - 0
22 setting 1 to 16 Unit No. 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Setting stations
connected with PLC link. Execution station bit 15 14 12 - - - 8 - - - 4 - - - 0
23
(No.1 to No.64 available) 17 to 32 Unit No. 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
Turn ON bits
corresponding to the Execution station bit 15 14 12 - - - 8 - - - 4 - - - 0
24 table on the right. Unit No. 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
33 to 48
ATTENTION
Station numbers 1 to 64 are
available, but up to 32 Execution station bit 15 14 12 - - - 8 - - - 4 - - - 0
25 Unit No. 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
stations can be connected 49 to 64
with PLC link.
26 to 29 Unused H0000 fixed

74
Example of MAP Address No.22 to No.25 settings
When using No.1, 2, 10, 30, and 64, turn ON the bits as follows:
15 14 12 - - - 8 - - - 4 - - - 0

No.22 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0000 0010 0000 0011 → H0203

15 14 12 - - - 8 - - - 4 - - - 0

No.23 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 0010 0000 0000 0000 → H2000

15 14 12 - - - 8 - - - 4 - - - 0

No.24 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 0000 0000 0000 0000 → H0000

15 14 12 - - - 8 - - - 4 - - - 0

No.25 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 1000 0000 0000 0000 → H8000

● MAP Address No.22: H0203


● MAP Address No.23: H2000
configured.
● MAP Address No.24: H0000
● MAP Address No.25: H8000

75
Map Address
Parameter Event
No.

PLC link Link relay H0000: Do not clear Setting whether to clear link
30
Clear H0001: Clear. relay/link register of sending
clear/do not area or not. In addition, PLC
clear setting on communication flag turns OFF
Link register H0000: Do not clear
31 communication when PLC communication is
Clear H0001: Clear.
breakdown broken down.
Link relay H0000: Check Setting whether or not to check
32
Address H0001: Do not check. duplicate link relay or register
Duplicate error
allocated to each station
checking
Link register H0000: Check connected. MW-Link unit ERR
33 setting (Note 1)
Address H0001: Do not check. LED flickers when duplicate
error occurs.
Initial word
34 number for
No.1 sending
Link relay Word
35 number for
sending area
Initial word
36 number for
No.1 sending
Link
register Word
37 number for
sending area
Link relay/link register sending area allocation

Allocating link relay and link register sending area for each
connected station assigned by link relay/data area settings
Initial word
(MAP Address No.14 to 19). Saved in MAP Address No.34 to
34+4(n-1) number for
289, by 4 words/1 station, and in order from No.1 to No.40.
No.n sending
Link relay Word
35+4(n-1) number for
sending area NOTE Set double the necessary word number for initial
Initial word words number and area word number.
36+4(n-1) number for
No.n Ex) Initial word number 10 → K20
sending
Link Initial word number 20 → K40
register Word Initial word number is the number of words from the
37+4(n-1) number for initial address No. set in MAP Address No. 15 and No.
sending area 18. (See next page for details.)

Initial word
286 number for
No.64 sending
Link relay Word
287 number for
sending area
Initial word
288 number for
No.64 sending
Link
register Word
289 number for
sending area
Parameters can be entered in MAP Address No.10 to 289
only when this switch is OFF.
1023 PLC link start-up switch
H0000: PLC link operation stops (Parameter input available)
H0001: PLC link operation starts (Parameter input unavailable)

76
NOTE1 When duplicate error check is enabled, data is not received when error has
occurred. But if error checking is disabled, data is received based on slave
station link areas settings, even when duplicate error has occurred.
• When duplicate error checking is disabled
If allocation is as illustrated below, data sent from Unit No.1 is received by
WL0 to WL9 on Unit No.2/No.3, and data sent from Unit No.2 is received by
WL20 to WL29 on Unit No.1. (Data of duplicate WL10 to WL19 is scrapped.)

WL0 WL0 WL0


No.1
No.1 No.1
Duplicate
19 19 19
20 20
No.2 20
No.2 No.2
29 29 29
30 30 30
No.3 No.3 No.3
39 39 39
Link Unit No.1 Link Unit No.2 Link Unit No.3
link relay link relay link relay
sending area sending area sending area

Sending area allocation for link relay/register


Set double the number of words necessary for initial word number
and area word number of link relay/register sending area allocation.
Initial word number is counted from the initial address of sending
area. Set allocation in reference to the following example. Be careful
because word number can be different from WL10 or DT100.
Ex) Allocating 10 words for Unit No.1 to 3, starting from link register
DT110
Allocation diagram
0 word from initial address of sending
DT110
10 words area of link register
Unit No.1
DT119 10 words from initial address of
DT120 sending area of link register
Unit No.2 10 words
DT129 20 words from initial address of
DT130 sending area of link register
Unit No.3 10 words
DT139

MAP Address setting


Set double the necessary word number.
Map Address
Parameter Event
No.
Sending area initial word
36 For initial address of register area, set "0" 0 x 2 → K0
number of No.1 link register
Sending area word number
37 10 words secured. 10 x 2 → K20
of No.1 link register
Sending area initial word 10 words from the initial address of register area: set "10"
40
number of No.2 link register 10 x 2 → K20
Sending area word number
41 10 words secured. 10 x 2 → K20
of No.2 link register
Sending area initial word 20 words from the initial address of register area: set "20"
44
number of No.3 link register 20 x 2 → K40
Sending area word number
45 10 words secured. 10 x 2 → K20
of No.3 link register

77
Operation status flag
Operation status flag set in Map Address No.8 to 10 is present at every
station in three types: PLC link communication status flag; PLC
operation mode flag and PLC operation status flag. These 3 types of
information are saved to areas secured for operation flags. Area word
number (set code) to be used at MAP Address No.10 must be set to
secure each area. Set code differs depending on connected station No.
Set the codes in reference to the Table 2 below. (See Ex1 to Ex3 on the
next page for details on operation status flag save.
Table 2. Area word number code
Connected station No. Number of words for used area Set code
Station 1 to 16 3 words K6
Station 1 to 32 6 words K12
Station 1 to 48 9 words K18
Station 1 to 64 12 words K24

PLC link communication status flag


Relevant flag Status Set code
Flag status for ON PLC link normal operation on slave station
slave station OFF PLC link stopped on slave station
Flag status for ON PLC link normal operation on other station
other station OFF*1 PLC link stopped on other station

*1. All flags are set OFF when PLC link communication flag is OFF on slave station.

PLC operation mode flag (RUN/PROG.)


Relevant flag Status Set code
Flag status for ON PLC communication status is ON, and CPU is in RUN mode.
slave station OFF PLC communication status is OFF, or CPU is in PROG mode.
PLC communication status is ON on other station, and CPU is
ON
Flag status for in RUN mode.
other station PLC communication status is OFF on other station, or CPU is
OFF*1
in PROG mode.

*1. All flags are set OFF when PLC link communication flag is OFF on slave station.

PLC operation mode flag


Relevant flag Status Set code
Flag status for ON PLC communication status is ON, and no error on PLC.
slave station OFF PLC communication status is OFF, or error on PLC.
PLC communication status is ON on other station, and no
ON
Flag status for error on PLC.
other station PLC communication status is OFF on other station, or error on
OFF*1
PLC.

*1. All flags are set OFF when PLC link communication flag is OFF on slave station.

78
Operation status flag (Ex1)
Condition
Item Settings
Connected station No.1, 10
Relay in use WR
Initial word No. 50
Operation
status flag Area word number setting
Connected station No.: from No.1 to 16 K6
Number of words for used area: 3 words

Operation flag
15 14 12 - - - 8 - - - 4 - - - 0
WR50 16 15 14 13 12 11 10 9 Station No.1 to 16, PLC link
8 7 6 5 4 3 2 1
communication status flag
15 14 12 - - - 8 - - - 4 - - - 0
Station No.1 to 16, PLC
WR51 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 operation mode flag
15 14 12 - - - 8 - - - 4 - - - 0
Station No.1 to 16, PLC
WR52 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 operation status flag

• WR50: H0202 PLC link communication status flag


• WR50: H0201 PLC operation mode flag
• WR50: H0201 PLC operation status flag
These flags are saved. (Example above shows the status when all flags of all stations are ON.)

Operation status flag (Ex2)


Condition
Item Settings
Connected station No.1, 10, 20
Relay in use WR
Initial word No. 50
Operation
status flag Area word number setting
Connected station No.: No.1 to 32 K12
Number of words for used area: 6 words

Operation flag

15 14 12 - - - 8 - - - 4 - - - 0
WR50 16 15 14 13 12 11 10 9 8 7 6 5 No.1 to 16 PLC link
4 3 2 1
communication
WR51 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 No.17 to 32 status flag

15 14 12 - - - 8 - - - 4 - - - 0
WR52 16 15 14 13 12 11 10 9 8 7 6 5 No.1 to 16
4 3 2 PLC operation
1
WR53 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 No.17 to 32 mode flag

15 14 12 - - - 8 - - - 4 - - - 0
WR54 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 No.1 to 16 PLC operation
WR55 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 No.17 to 32 status flag

• WR50: H0201
PLC link communication status flag
• WR51: H0008
• WR52: H0201
PLC operation mode flag
• WR53: H0008
• WR54: H0201 PLC operation status flag
• WR55: H0008
These flags are saved. (Example above shows the status when all flags of all stations are ON.)

79
Operation status flag (Ex3)
Condition
Item Settings
No.1, 10, 20,
Connected station
30, 64
Relay in use WR
Initial word No. 50
Operation
status flag Area word number setting
Connected station No.: No.1 to 64 K24
Number of words for used area: 12 words

Operation flag
15 14 12 - - - 8 - - - 4 - - - 0
WR50 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
No.1 to 16
PLC link
WR51 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 No.17 to 32
communication
No.33 to 48
WR52 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 status flag
No.49 to 64
WR53 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49

15 14 12 - - - 8 - - - 4 - - - 0
WR54 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
No.1 to 16
WR55 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 No.17 to 32 PLC operation
No.33 to 48 mode flag
WR56 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
No.49 to 64
WR57 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49

15 14 12 - - - 8 - - - 4 - - - 0
WR58 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
No.1 to 16
WR59 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 No.17 to 32 PLC operation
No.33 to 48 status flag
WR60 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
No.49 to 64
WR61 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49

• WR50: H0201
• WR51: H2008
PLC link communication status flag
• WR52: H0000
• WR53: H8000
• WR54: H0201
• WR55: H2008
• WR56: H0000 PLC operation mode flag
• WR57: H8000
• WR58: H0201
• WR59: H2008
PLC operation status flag
• WR60: H0000
• WR61: H8000
These flags are saved. (Example above shows the status when all flags of all stations are ON.)

80
Error Information Output Register when
Using PLC Link in W2-Mode
Error Information Output Register
What is error information output register?
In error information output registers assigned at MAP Address No.11
to 1DP, errors on slave stations are saved in the form of error codes.
The past 8-error incidents are saved as error history.
Map Address
Parameter Event
No.
Setting relay/register to use as error information output register.
Relays/Registers listed below are available.

Relay/Register code
WL H0000
11 Output area code
WR H0001
Ld H0006
DT H0009
FL H000A

12 Output Initial word No. Setting the initial word No. of used area.
Number of words for the Fix area word number at K20.
13
area (Enter K0 as parameter when error register is not used.)

81
Error information output register configuration
Error register occupies a total of 10 words. Current status is saved in
the first word, error history is saved in the second word, and the last 8
error incidents are saved in word 3 to 10.
Initial address for error information saving
Setting at Map Address No.12

15 8 7 0 bit
Error count (continuous) Error code Current status is saved
1st word
(H00 to HFF) (See error code table) (Latest error information area)

15 8 7 0 bit
Accumulated refresh number
Error count (continuous) Latest error history saving area
2nd word to error history saving area/
(H00 to HFF) pointer (H01 to H08) Error history saving area

Refresh number of error history No. of error history saving area.


saving area in word 3 to 10.

15 8 7 0 bit
Error count (continuous) Error code Current error history saving
3rd word
(H00 to HFF) (See error code table) area1 (Saving area No.: H01)

15 8 7 0 bit

Data pointer refresh number Error code Current error history saving
4th word
(H00 to HFF) (See error code table) area2 (Saving area No.: H02)

15 8 7 0 bit

Data pointer refresh number Error code Current error history saving
5th word area3 (Saving area No.: H03)
(H00 to HFF) (See error code table)

15 8 7 0 bit

Data pointer refresh number Error code Current error history saving
6th word
(H00 to HFF) (See error code table) area4 (Saving area No.: H04)

15 8 7 0 bit

Data pointer refresh number Error code Current error history saving
7th word area5 (Saving area No.: H05)
(H00 to HFF) (See error code table)

15 8 7 0 bit

Data pointer refresh number Error code Current error history saving
8th word area6 (Saving area No.: H06)
(H00 to HFF) (See error code table)

15 8 7 0 bit

Data pointer refresh number Error code Current error history saving
9th word
(H00 to HFF) (See error code table) area7 (Saving area No.: H07)

15 8 7 0 bit

Data pointer refresh number Error code Current error history saving
10th word
(H00 to HFF) (See error code table) area8 (Saving area No.: H08)

82
Operation description
When error occurs, the error code is saved to the 1st word of latest error
information area (lower byte).
● When error with the same code as saved in 1st error information
area repeatedly occurs, error count (continuous) increases by 1
(upper byte).

<Ex>
When same error code is repeated twice
Upper byte: H01** → H02**
● When the second error code is different from the error code saved
in latest error information area, the first error code is sent to error
history saving area n (see below), and refreshed latest error
information is saved to the first word.
● When the error is corrected, H00** is saved to latest error
information area (lower byte).

Last 8 errors are saved to error history saving area. (3rd to 10th words.)
● When error occurs 9 times, discontinuously, the oldest error history
is deleted, and new error is saved to that area.
● The error saving area No. where new error is saved (n) is indicated
on latest error history saving area pointer at the 2nd word.

<Ex>
Error history is saved in the order as follows:
No. 1, 2, 3, 4, 5, 6, 7, 8, 1, 2,........7, 8, 1, 2,.......the cycle continues. For
example, if there are 11 errors that occurred discontinuously, the
11th error information goes to 1st word. (Latest error information is
always saved to the 1st word.) At first, the 10th error information
was saved in the 1st word, and H0A02 is saved in error history
information output register at the 4th word. The upper byte H0A in
error register at the 2nd word indicates the refresh number of error
history saving area (accumulated error number since the oldest
error).

83
Error Information Output Register Example
Parameter settings
Error information register Ld0 to Ld9 are allocated to set parameter.
Map Address No. Parameter settings
11 H0006
12 H0000(K0)
13 K20

Output example
Assume that errors have occurred in the following order.

Start-up (PLC link) Error in sending data

Cycle c Error in received data Error in sending data

Cycle f

Error in received data Error in received data

Cycle d Recover to normal operation Error in sending data

Cycle g
Cycle e Error in received data Error in received data Current
status

Cycle c
When PLC link is running and error in received data continuously
occurs, error registers Ld0 to Ld9 are set as follows:
Error count (Same errors occur twice in a row)

Ld0 H020A : Latest error information showing current status is saved

Error code No. (OA: PLC link receiving error), See error code list
Ld1 H00 00
Ld2 H00 00
Ld3 H00 00

to

Ld8 H00 00
Ld9 H00 00

84
Cycle d
When PLC link recovers to normal operation, error registers Ld0 to Ld9
are set as follows:
Error count is maintained as it is.

Ld0 H02 00 : H**00 is saved when error is corrected.

Error code No. for corrected error: H00

Accumulated error count saved in error history saving area (H01)

Ld1 H01 01 : Accumulated error count (H01)/Latest error history saving area

Latest error history saving area (H01: Error history saving area 1)
Ld1 H02 0A : Sending from the latest error information area
Ld2 H00 00
Ld3 H00 00

to

Ld8 H00 00
Ld9 H00 00

Cycle e
When an error in received data occurs, error registers Ld0 to Ld9 are
set as follows:
Error count

Ld0 H01 0A : Latest error information showing current status is saved

Error code No. (OA: PLC link receiving error), See error code list
Ld1 H01 01 : Accumulated error count (H01)/Latest error history
saving area (H01)
Ld2 H02 0A
Ld3 H00 00

to

Ld8 H00 00
Ld9 H00 00

85
Cycle f
When errors in sending data occur four times in a row, error registers
Ld0 to Ld9 are set as follows:
Error count (Same errors occur 4 times in a row)

Ld0 H04 10 : Latest error information showing current status is saved

Error code No. (10: PLC link sending error), Error code list

Refresh the accumulated count of error history saving area refresh (H01 → H02)

Ld1 H02 02 : Accumulated error count (H02)/Latest error history saving


area (H02)

Latest error history saving area (02H: Error history saving area 2) is refreshed
Ld2 H02 0A
Ld3 H01 0A : Sending from the latest error information area
Ld4 H00 00

to

Ld9 H00 00

ATTENTION When the same type of errors occur continuously, the error
information does not go from latest error information area to
error history saving area. Only the error count in latest error
information area is refreshed. For example, as shown above,
4 sending data errors occur in a row, the error register is set
to H0410.

Cycle g
If continuous errors occur again, error registers Ld0 to Ld9 are set as
follows:
Error count

Ld0 H01 0A : Latest error information showing current status is saved

Error code No. (0A: PLC link receiving error), Error code list

Refresh the accumulated count of error history saving area refresh (H02 → H03)

Ld1 H03 03 : Accumulated error count (H03)/Latest error history saving


area (H03)

Latest error history saving area (03H: Error history saving area 3) is refreshed
Ld2 H02 0A
Ld3 H01 0A : Sending from the latest error information area
Ld4 H04 10

to

Ld9 H00 00

86
Result
After cycles c to g in the output example complete, the final status of
error registers Ld0 to Ld9 is as follows:

Start-up (PLC link) Ld0 H04 10 Latest error information area

Accumulated refresh count of


Error in received data Ld1 H04 10 error history saving area/
Error history saving area

Error in received data Ld2 H04 10 Error history saving area 1

Recover to normal Ld3 H04 10 Error history saving area 2


operation

Error in received data Ld4 H04 10 Error history saving area 3

Error in sending data Ld5 H04 10 Error history saving area 4

Error in sending data Ld6 H04 10 Error history saving area 5

Error in sending data Ld7 H04 10 Error history saving area 6

Error in sending data Ld8 H04 10 Error history saving area 7

Error in received data Ld9 H04 10 Error history saving area 8

Check the error code No. in the latest error information area (in the
example, the value of Ld0 lower byte), and then correct the error in
reference to "Error Code List" on the next page.

87
Error Code List
Code Error name Event Correction
00 Normal There is no error.
More than 4 units are mounted in Do not mount more than 3 MW-Link units
Initial start-up W2-mode. in W2-mode.
08
error Defective MW-Link unit, basic
Check the defective unit and replace it.
backplane or other unit.
Termination on
See "Checking for PLC Link Communication
0A PLC link receiving Error in received PLC link data
Failure" in Chapter 3 and correct the error.
error
Unit No. Unit No. is out of the permitted Change the Unit No to one within the range
0B
setting error range of No.1 to No.64. of No.1 to 64.
Unit No. is duplicate with other
0C Duplicate Unit No. Change to a different No.
station.
Parameter error
0D
(Unit detection) There is an error in the parameter Check for errors in parameter setting
Parameter error settings. program.
0E
(CPU detection)
See "Checking for PLC Link Communication
Termination on Failure" in Chapter 3 and correct the error.
10 PLC link sending Error in sending PLC link data When an error occurs, consider data
error damage caused by noise. Take noise
prevention measures.
PLC link address Link area is duplicate with other Check the parameter setting program and
11
duplicate station. change to a different value.
Data damage
Take noise prevention measures.
Failed to caused by noise
correctly receive Error on
Termination on packets. Check the communication cables and
transmission
12 packet receiving connectors.
circuit
error
Set up flow control, or use the unit within
Repetition in received message due
the transmission capacity using application
to received packet error.
program.
PLC link parameter
error detected There is an error in the parameter Check for errors in parameter setting
13
during PLC link settings. program.
operation
Termination on
Packet data to send is not correct.
14 packet sending Take noise prevention measures.
(Data damage caused by noise)
error

88
Error Check
When CPU unit ERROR LED is ON

Situation
MW-Link unit ERR LED is On/Flickering.
< Procedure c >
Make sure that all units are correctly mounted to backplane.

< Procedure d >


Check if power unit POWER LED is ON.
When POWER LED is not ON, See "Troubleshooting" in the system
manuals of relevant PLC.

< Procedure e >


Check if CPU unit ALARM LED and ERROR LED are ON.
See "Troubleshooting" in the system manuals of relevant PLC.

Checking W, W-2 mode


< Procedure c >
Check the operation mode setting switch if the function mode is
correctly configured.
Mode setting switch
Operation Checklist
For NX70 PLC System For NX700 PLC System
Check if all MW-Link units on the same Bottom of unit Bottom of unit
network are set to W-mode. “Mode setting switch (2)” “Mode setting switch”
W-mode
(If units in different modes are connected 1 5
together, an error occurs.) OFF ON OFF ON

Check if all MW-Link units on the same Bottom of unit Bottom of unit
network are set to W2-mode. “Mode setting switch (2)” “Mode setting switch”
W2-mode
(If units in different modes are connected 1 5
together, an error occurs.) OFF ON OFF ON

* Turn the power OFF when changing mode setting switch.

89
Checking for using W2-mode

< Procedure c >


Check if MW-Link Unit ERR LED is ON/flickering.
If LED is On/flickering, go to Checking when ERR.
LED is On/flickering.

< Procedure d >


Check if the mode settings are correct when using PLC link mode.
Check if the mode settings are correct.

< Procedure e >


Check if communication location settings are correct.

Checking when ERR LED is On/flickering

Situation
MW-Link unit ERR LED is On/flickering.
< Procedure c >
When ERR LED is ON, turn the power ON and OFF several times

< Procedure d >


When ERR LED is flickering, check the error register and take
necessary steps in reference to “"Error Code List" in Chapter 3. In
addition, take the following steps if necessary.
ERR. LED status processing
Check parameter configuration program and whether link area
Flickering (Approx. 0.2s allocation is duplicate or not. (Change to an unused area.)
interval) Sometimes,
COM. LED is ON Check parameter configuration program and whether Unit No.
is duplicate or not.
Flickering (Approx. 0.2s
Check if Unit No. is within the range of 1 to 64 and restart the
interval) Sometimes,
system.
COM. LED is OFF.

* If operation does not recover to normal status after taking all necessary measures
described above, contact us.
When there are spare link units, replace the error units and check the operation.

90
Checking for PLC Link Communication Failure

Situation
A unit cannot establish PLC link communication
< Procedure c >
Check if the unit is running in PLC link mode, if the mode setting switch
is set to "PLC link or Non-PLC link".

< Procedure d >


Check the error register, See "Error Code List" in Chapter 3, and take
necessary steps.

< Procedure e >


Check if parameter setting program is installed on all units in PLC link
mode. Set sending link areas of all units, in accordance with parameter
setting program. Parameter setting program must be executed on all
units. (See "PLC Link Parameter List in W2-Mode" in Chapter 3).

< Procedure f >


Check if link area is allocated on all stations, using parameter setting
program.
Parameter setting program must be executed on all units. (See "PLC
Link Parameter List in W2-Mode" in Chapter 3)

< Procedure g >


Check the parameter setting program for duplicate allocation of link
areas.

< Procedure h >


Check if Link Unit No. is within the range of No.1 to No.64, and restart
the unit.

< Procedure i >


Check if there are less than 32 stations connected in PLC link.

< Procedure j >


Set all unit communication speed in the link to either of 500kbps or
250kbps. Check the mode setting switch on the bottom and restart the
system.

91
Checking in the case of transmission error

Situation
In case of transmission error
< Procedure c >
Check the error register, See "Error Code List" in Chapter 3, and take
necessary steps.

< Procedure d >


Check if transmission cables are correctly connected to positive and
negative terminals of each link unit.
Transmission path Transmission path Transmission path
connection terminal connection terminal connection terminal
Transmission Transmission
cable cable

Shield Shield

[RS485 interface] [RS485 interface] [RS485 interface]

< Procedure e >


Check if the transmission cables in use conform to permitted
specifications. When checking, cables for the same network should
have same specifications.

< Procedure f >


Check status LED or end station setting switch to determine if the link
units at both ends of network are configured as end stations.
(Do not configure units at other locations as end stations.)

< Procedure g >


When using together with W-mode, check for duplicate with W-mode
link area.

< Procedure h >


Check if the parameter program settings are correct.
If there is an error on setting program, consider the following factors,
as an example.
● DT in work area is used before setting program is finished.
(Incorrect data transmission.)
● H0000 is entered in sending area setting parameter of unused
station, instead of HFFFF.

92
Appendix
Special Relay(R), Special Data Register(DT)

Special Relay and Special Data Register List


A list of special relays and special data registers of W-Link units.

Special relay (R)


● Special relays are dedicated to a certain usage. Turn ON or OFF, in
accordance with operation status or error specifications.
● Special relays cannot be programmed for output. They can only be
used as contacts.
● Special relay numbers on the following list are in accordance to I/O
numbers of PLC NX-series (decimal and hexadecimal).
WR903 (Data transmission instruction execution status flag)
Word No. No. Name Event
SECNET send/receive instructions 0: Not executable (Running)
R9030
Execution availability flag 1: Executable
WR903
SECNET send/receive instructions 0: Normal completion
R9031
Execution complete flag 1: Termination → Error code DT9039

WR905 (Transmission error detection flag)


Word No. No. Name Event
ON when transmission error or link setting error
R9050 Transmission error (link 1)
occurs at link 1.
ON when transmission error or link setting error
WR905 R9051 Transmission error (link 2)
occurs at link 2.
ON when transmission error or link setting error
R9052 Transmission error (link 3)
occurs at link 3.

93
WR906 (Check for units available for PLC link communication)
(PLC link 0)
Word No. No. Name Event
R9060 Normal transmission at Unit No.1: ON, Error or termination: OFF
R9061 Normal transmission at Unit No.2: ON, Error or termination: OFF
R9062 Normal transmission at Unit No.3: ON, Error or termination: OFF

PLC Link transmission guarantee relay


R9063 Normal transmission at Unit No.4: ON, Error or termination: OFF
R9064 Normal transmission at Unit No.5: ON, Error or termination: OFF
R9065 Normal transmission at Unit No.6: ON, Error or termination: OFF
R9066 Normal transmission at Unit No.7: ON, Error or termination: OFF
9 R9067 Normal transmission at Unit No.8: ON, Error or termination: OFF
0
6 R9068 Normal transmission at Unit No.9: ON, Error or termination: OFF
R9069 Normal transmission at Unit No.10: ON, Error or termination: OFF
R906A Normal transmission at Unit No.11: ON, Error or termination: OFF
R906B Normal transmission at Unit No.12: ON, Error or termination: OFF
R906C Normal transmission at Unit No.13: ON, Error or termination: OFF
R906D Normal transmission at Unit No.14: ON, Error or termination: OFF
R906E Normal transmission at Unit No.15: ON, Error or termination: OFF
R906F Normal transmission at Unit No.16: ON, Error or termination: OFF

WR907 (PLC link mode operation checking) (PLC link 0)


Word No. No. Name Event
R9070 Unit No.1 PLC is in RUN mode: ON, in PROG mode: OFF
R9071 Unit No.2 PLC is in RUN mode: ON, in PROG mode: OFF
PLC Link transmission operation mode relay

R9072 Unit No.3 PLC is in RUN mode: ON, in PROG mode: OFF
R9073 Unit No.4 PLC is in RUN mode: ON, in PROG mode: OFF
R9074 Unit No.5 PLC is in RUN mode: ON, in PROG mode: OFF
R9075 Unit No. 6 PLC is in RUN mode: ON, in PROG mode: OFF
R9076 Unit No. 7 PLC is in RUN mode: ON, in PROG mode: OFF
9
R9077 Unit No. 8 PLC is in RUN mode: ON, in PROG mode: OFF
0
R9078 Unit No. 9 PLC is in RUN mode: ON, in PROG mode: OFF
7
R9079 Unit No.10 PLC is in RUN mode: ON, in PROG mode: OFF
R907A Unit No.11 PLC is in RUN mode: ON, in PROG mode: OFF
R907B Unit No.12 PLC is in RUN mode: ON, in PROG mode: OFF
R907C Unit No.13 PLC is in RUN mode: ON, in PROG mode: OFF
R907D Unit No.14 PLC is in RUN mode: ON, in PROG mode: OFF
R907E Unit No.15 PLC is in RUN mode: ON, in PROG mode: OFF
R907F Unit No. 16 PLC is in RUN mode: ON, in PROG mode: OFF

94
WR908 (Check for units available for PLC link communication)
(PLC link 1)
Word No. No. Name Event
R9080 Normal transmission at Unit No. 1: ON, Error or termination: OFF
R9081 Normal transmission at Unit No.2: ON, Error or termination: OFF
R9082 Normal transmission at Unit No.3: ON, Error or termination: OFF

PLC Link transmission guarantee relay


R9083 Normal transmission at Unit No.4: ON, Error or termination: OFF
R9084 Normal transmission at Unit No.5: ON, Error or termination: OFF
R9085 Normal transmission at Unit No.6: ON, Error or termination: OFF
R9086 Normal transmission at Unit No.7: ON, Error or termination: OFF
9
R9087 Normal transmission at Unit No.8: ON, Error or termination: OFF
0
R9088 Normal transmission at Unit No.9: ON, Error or termination: OFF
6
R9089 Normal transmission at Unit No.10: ON, Error or termination: OFF
R908A Normal transmission at Unit No.11: ON, Error or termination: OFF
R908B Normal transmission at Unit No.12: ON, Error or termination: OFF
R908C Normal transmission at Unit No.13: ON, Error or termination: OFF
R908D Normal transmission at Unit No.14: ON, Error or termination: OFF
R908E Normal transmission at Unit No.15: ON, Error or termination: OFF
R908F Normal transmission at Unit No.16: ON, Error or termination: OFF

WR909 (PLC link mode operation checking) (PLC link 1)


Word No. No. Name Event
R9090 Unit No.1 PLC is in RUN mode: ON, in PROG mode: OFF
R9091 Unit No.2 PLC is in RUN mode: ON, in PROG mode: OFF
R9092 Unit No.3 PLC is in RUN mode: ON, in PROG mode: OFF
R9093 Unit No.4 PLC is in RUN mode: ON, in PROG mode: OFF
PLC Link operation mode relay

R9094 Unit No.5 PLC is in RUN mode: ON, in PROG mode: OFF
R9095 Unit No. 6 PLC is in RUN mode: ON, in PROG mode: OFF
R9096 Unit No. 7 PLC is in RUN mode: ON, in PROG mode: OFF
9
R9097 Unit No. 8 PLC is in RUN mode: ON, in PROG mode: OFF
0
R9098 Unit No. 9 PLC is in RUN mode: ON, in PROG mode: OFF
7
R9099 Unit No.10 PLC is in RUN mode: ON, in PROG mode: OFF
R909A Unit No.11 PLC is in RUN mode: ON, in PROG mode: OFF
R909B Unit No.12 PLC is in RUN mode: ON, in PROG mode: OFF
R909C Unit No.13 PLC is in RUN mode: ON, in PROG mode: OFF
R909D Unit No.14 PLC is in RUN mode: ON, in PROG mode: OFF
R909E Unit No.15 PLC is in RUN mode: ON, in PROG mode: OFF
R909F Unit No. 16 PLC is in RUN mode: ON, in PROG mode: OFF

95
Special register (DT)
● Special data register is dedicated to a certain purpose.
Operation or error status related to link is saved to special data
register.
● Data in special register cannot be modified.
● 700 series (NX-CPU700, NX70-CPU70) units use 4-digit labels for
special data registers. (ex. DT90039 → DT9039)
DT90039 (Data send/receive complete code)
No. Name Event
SECNET data SEND/RECV instruction complete
SEND/RECV instruction
DT90039 code is saved.
complete code
0 = Normal completion

DT90140 to DT90159 (PLC link)


No. Name Event
DT9014
PLC link status Receiving count at PLC link 0 RING counter
0
DT9014
PLC link status PLC link 0 receiving interval Current value (x 2.5msec)
1
DT9014
PLC link status PLC link 0 receiving interval Min. value (x 2.5msec)
2
DT9014
PLC link status PLC link 0 receiving interval Max. value (x 2.5msec)
3
DT9014
PLC link status Receiving count at PLC link 0 RING counter
4
DT9014
PLC link status PLC link 0 receiving interval Current value (x 2.5msec)
5
DT9014
PLC link status PLC link 0 receiving interval Min. value (x 2.5msec)
6
DT9014
PLC link status PLC link 0 receiving interval Max. value (x 2.5msec)
7
DT9014
PLC link status Receiving count at PLC link 0 RING counter
8
DT9014
PLC link status PLC link 1 receiving interval Current value (x 2.5msec)
9
DT9015
PLC link status PLC link 1 receiving interval Min. value (x 2.5msec)
0
DT9015
PLC link status PLC link 1 receiving interval Max. value (x 2.5msec)
1
DT9015
PLC link status Receiving count at PLC link 1 RING counter
2
DT9015
PLC link status PLC link 1 receiving interval Current value (x 2.5msec)
3
DT9015
PLC link status PLC link 1 receiving interval Min. value (x 2.5msec)
4
DT9015
PLC link status PLC link 1 receiving interval Max. value (x 2.5msec)
5
DT9015
PLC link status System PLC link 0 receiving interval measuring WACK
6
DT9015
PLC link status System PLC link 0 sending interval measuring WACK
7
DT9015
PLC link status System PLC link 1 receiving interval measuring WACK
8

96
DT9015
PLC link status System PLC link 1 sending interval measuring WACK
9

97
DT90160 to DT90169 (PLC Unit No. and error flag)
No. Name Event
DT90160 Link Unit No. (LOOP No.1) Unit No. of self LOOP No.1 is saved.
DT90161 Error flag Error specifications of LOOP No.1 (*) are saved.
DT90162 Link Unit No.(LOOP No.2) Unit No. of self LOOP No.2 is saved.
DT90163 Error flag Error specifications of LOOP No.2 (*) are saved.
DT90164 Link Unit No.(LOOP No.3) Unit No. of self LOOP No.3 is saved.
DT90165 Error flag Error specifications of LOOP No.3 (*) are saved.
DT90166 Unused
DT90167 Unused
DT90168 Unused
DT90169 Unused

* Error flag (DT90161, DT90163, DT90165)


Error specification is saved to the lower 4 bits. (No error: 0, Error: 1)

7 6 5 4 3 2 1 0 ( b it)

Transmission error (Link not available)


Duplicate Unit No. error
Duplicate link area allocation error
Unit No. Configuration error

NOTE When using PLC link function on PLC network:


• PLC Link0: PLC network connected to the first Link Unit mounted on backplane.
PLC Link1: PLC network connected to the second Link Unit mounted on
backplane.
• When system register No.46 = K0, 1st unit: PLC Link0, 2nd unit: PLC Link1
When system register No.46 = K1, 1st unit: PLC Link1, 2nd unit: PLC Link0
• See each Link Unit Manual for details.

DT90170 to DT90187 (Link Loop 1 status)


No. Name Event
DT90170 Link Loop 1 status PLC link address duplicated location
DT90171 Link Loop 1 status Test results from optical transmission test mode
DT90172 Link Loop 1 status Token loss count
DT90173 Link Loop 1 status (Double token count)
DT90174 Link Loop 1 status No-signal status count
DT90175 Link Loop 1 status Synchronization error count
DT90176 Link Loop 1 status Sending NACK
DT90177 Link Loop 1 status Sending NACK
DT90178 Link Loop 1 status Sending WACK
DT90179 Link Loop 1 status Sending WACK
DT90180 Link Loop 1 status Sending ANSWER
DT90181 Link Loop 1 status Sending ANSWER
DT90182 Link Loop 1 status Undefined instruction
DT90183 Link Loop 1 status Parity error count
DT90184 Link Loop 1 status End code receiving error
DT90185 Link Loop 1 status Format error
DT90186 Link Loop 1 status NOT support
DT90187 Link Loop 1 status Self-diagnosis results

98
DT90200 to DT90217 (Link Loop 2 status)
No. Name Event
DT90200 Link Loop 2 status PLC link address duplicated location
DT90201 Link Loop 2 status Test results from optical transmission test mode
DT90202 Link Loop 2 status Token loss count
DT90203 Link Loop 2 status (Double token count)
DT90204 Link Loop 2 status No-signal status count
DT90205 Link Loop 2 status Synchronization error count
DT90206 Link Loop 2 status Sending NACK
DT90207 Link Loop 2 status Sending NACK
DT90208 Link Loop 2 status Sending WACK
DT90209 Link Loop 2 status Sending WACK
DT90210 Link Loop 2 status Sending ANSWER
DT90211 Link Loop 2 status Sending ANSWER
DT90212 Link Loop 2 status Undefined instruction
DT90213 Link Loop 2 status Parity error count
DT90214 Link Loop 2 status End code receiving error
DT90215 Link Loop 2 status Format error
DT90216 Link Loop 2 status NOT support
DT90217 Link Loop 2 status Self-diagnosis results

DT90230 to DT90247 (Link Loop 3 status)


No. Name Event
DT90230 Link Loop 3 status PLC link address duplicated location
DT90231 Link Loop 3 status Test results from optical transmission test mode
DT90232 Link Loop 3 status Token loss count
DT90233 Link Loop 3 status (Double token count)
DT90234 Link Loop 3 status No-signal status count
DT90235 Link Loop 3 status Synchronization error count
DT90236 Link Loop 3 status Sending NACK
DT90237 Link Loop 3 status Sending NACK
DT90238 Link Loop 3 status Sending WACK
DT90239 Link Loop 3 status Sending WACK
DT90240 Link Loop 3 status Sending ANSWER
DT90241 Link Loop 3 status Sending ANSWER
DT90242 Link Loop 3 status Undefined instruction
DT90243 Link Loop 3 status Parity error count
DT90244 Link Loop 3 status End code receiving error
DT90245 Link Loop 3 status Format error
DT90246 Link Loop 3 status NOT support
DT90247 Link Loop 3 status Self-diagnosis results

99
100
NX70/700 MWLINK User Manual

www.oemax.co.kr
www.oemax.com Trademarks not belonging to OE MAX Controls
are property of their respective companies.
Publication NX700-UM012A-EN-P - September 2006 Copyright © 2006 OE MAX Controls

You might also like