NX700-UM012A-EN-P-MWLink NSERIES
NX700-UM012A-EN-P-MWLink NSERIES
NX700-UM012A-EN-P-MWLink NSERIES
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.
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
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.
5
NX Series Multi-Wire Link Installation Environment
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
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
9
SECNET W-mode functions
Configuration diagram
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
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.
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
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)
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
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.
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
NX-MWLINK
MWLINK
¤Ł ¤Ø¤Œ
¥ı
¤º 5
4
3
2
1
ON
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
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.
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.
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
Settings
No. Item
W-mode W2-mode
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
5-pole type dip switch on the bottom of NX700 PLC MW-Link unit.
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
* 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.)
Shield Shield
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
24
MW-Link unit start-up
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.
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.)
Communication available
Link unit set to PLC link mode Link unit not set to PLC link mode
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
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
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.
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
● 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.
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.
World World
0 0
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.
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
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:
Setting System
Setting item
range register No.
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.
34
Sample program
X11 L1
[ ] Link Unit No.3 start of operation
( ED )
( ED )
( 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.
37
Impossible allocation example:
Allocations shown below cannot be used for link relay (L) and link
register (Ld) at the same time.
● 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)
DT 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 (Unit No.)
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.
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.
C C
P P
U U
PLC link 0
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).
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.
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
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
S1+1
Setting corresponding station (Common for sending bit and word)
15 12 11 - - 8 7 - - 4 3 - - 0
S1
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.
WR10
X0
[F145 SEND, DT0, LD30, WR0, K10 ]
WR10
X0
[F145 SEND, DT0, LD30, WR0, K10 ]
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)
(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 ●
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
Layer 1 relay source Unit No.: Layer 1 relay LOOP No.: H01 to H08
H01 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
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.)
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]
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
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
S1+1
Setting corresponding station (Common for sending bit and word)
15 12 11 - - 8 7 - - 4 3 - - 0
S1+1
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 ]
W R0
X0
[F146 RECV, DT5, WR0, K0, DT300 ]
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
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
Layer 1 relay source Unit No.: Layer 1 relay LOOP No.: H01 to H08
H01 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
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.
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
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.
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
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
* 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.
Shield Shield
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)
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
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.
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
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)
4. Sending settings
• Settings of “User Program Setting” are sent to MW-Link unit MAP by SEND
instruction.
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
[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
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 ]
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 ]
User program
L100 Y60
ED
Setting program
Setting program part can be shared by Link Unit No.1 setting
programs.
( STPE )
L0 Y50
User program
X20 L100
ED
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.
X20: ON X20: ON
Y50: Output Y50: Output
[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 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
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
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 ]
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 ]
L100 Y60
User program
L200
L300
L400
ED
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
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
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
15 14 12 - - - 8 - - - 4 - - - 0
15 14 12 - - - 8 - - - 4 - - - 0
15 14 12 - - - 8 - - - 4 - - - 0
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.)
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
*1. All flags are set OFF when PLC link communication flag is OFF on slave station.
*1. All flags are set OFF when PLC link communication flag is OFF on slave station.
*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
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
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.
Cycle f
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)
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.
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
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)
Error code No. (10: PLC link sending error), Error code list
Refresh the accumulated count of error history saving area refresh (H01 → 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
Error code No. (0A: PLC link receiving error), Error code list
Refresh the accumulated count of error history saving area refresh (H02 → 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:
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.
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
89
Checking for using W2-mode
Situation
MW-Link unit ERR LED is On/flickering.
< Procedure c >
When ERR LED is ON, turn the power ON and OFF several times
* 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".
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.
Shield Shield
92
Appendix
Special Relay(R), Special Data Register(DT)
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
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
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
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
7 6 5 4 3 2 1 0 ( b it)
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
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