Thank you for purchasing the ME-NET module (JW-21MN) for the SHARP programmable controller.
Read this manual thoroughly to completely familiarize yourself with the operation according to the
examples.
Keep this manual for future reference. We are confident that this manual will be helpful whenever
you encounter a problem.
Note
- This manual describes the JW-21MN that will be compatible with the JW30H. The JW-21MN that
is applied to JW30H has a 30Hn mark in front of the module.
Beside this, the JW-21MN has models with 30H marks and without 30H marks.
30Hn mark
(Compatible
with JW30H)
8
7
9
6
0
5
1
4
2
3
8
8
7
7
9
9
6
6
0
0
5
5
1
1
4
4
2
2
3
3
JW-21MNDescriptions
Can be used when installing the JW-21MN into JW30H
With 30Hn mark
control module: JW-31CUH/32CUH/33CUH (conventional
models) and JW-31CUH1/32CUH1/33CUH1/33CUH2
/33CUH3 (new models).
Can be used when installing the JW-21MN into JW30H
With 30H mark
control module (conventional models). When installing the
JW-21MN into the new models, the control module can be
used as conventional models.
The JW-21MN cannot be used with the JW30H control
No mark
module (both conventional and new models). It can be used
only with the JW20/JW20H control module.
- New functions in the revised edition in order to apply to JW30H are represented by the V2 mark.
Marks used in this manualDescriptions
V2
Functions that can be used when the JW-21MN (compatible with the
JW30H) is installed into the JW20/JW20H/JW30H.
- In this manual, programmable controller is referred to as "PC." Number and symbol in
parentheses added to address or setting value indications represent the following:
Octal··················· (8)
Hexadecimal······ (H)
Decimal·············· (D) or no indication
Note
- This manual was written with the utmost care. However, if you have any questions or inquiries
concerning the product, please feel free to contact our dealers or service agents.
- No part of this manual may be reproduced in any form without the written permission of Sharp
corporation.
- The contents of this manual are subject to change without prior notice.
Safety Precautions
Read this manual and attached documents carefully before installation, operation, maintenance and
checking in order to use the machine correctly. Understand all of the machine knowledge, safety
information, and cautions before starting to use. In this instruction manual, safety precautions are
ranked into "danger" and "caution" as follows.
Danger : Wrong handling may possibly lead to death or heavy injury.
Caution : Wrong handling may possibly lead to medium or light injury.
Even in the case ofCaution , a serious result may be experienced depending on the
circumstances. Anyway, important points are mentioned. Be sure to observe them strictly.
The picture signs of prohibit and compel are explained below.
: It means don’ts. For example, prohibition of disassembly is indicated as ().
: It means a must. For example, obligation of grounding is indicated as ().
1) Installation
Caution
- Use in the environments specified in the catalog, instruction manual, and user's manual.
Electric shock, fire or malfunction may be caused when used in the environments of high
temperature, high humidity, dusty or corrosive atmosphere, vibration or impact.
-Install according to the manual.
Wrong installation may cause drop, breakdown, or malfunction.
-Never admit wire chips or foreign matters.
Or fire, breakdown or malfunction may be caused.
2) Wiring
- Be sure to ground.
Unless grounded, electric shock or malfunction may be caused.
- Connect the rated power source.
Connection of a wrong power source may cause a fire.
- Wiring should be done by a qualified electrician.
Wrong wiring may lead to fire, breakdown or electric shock.
Compel
Caution
3) Use
- Don't touch the terminal while the power is being supplied or you may have an electric shock.
- Assemble the emergency stop circuit and interlock circuit outside of the programmable
controller. Otherwise breakdown or accident damage of the machine may be caused by the
trouble of the programmable controller.
- "RUN" or "STOP" during operation should be done with particular care by confirming safety.
Misoperation may lead to damage or accident of the machine.
- Turn on the power source in the specified sequence. Turning ON with wrong sequence may
lead to machine breakdown or accident.
4) Maintenance
- Don’t disassemble or modify the modules.
Or fire, breakdown or malfunction may be caused.
Danger
Caution
Prohibit
Caution
- Turn OFF the power source before detaching or attaching the module.
Or electric shock, malfunction or breakdown may be caused.
ME-NET Module: JW-21MN
- User's Manual -
Chapter 1 Features and Functions
Chapter 2 Safety Precautions
Chapter 3 System Configuration
Chapter 4 Name and Function of Each Part
Chapter 5 Installation
Chapter 6 Processing of Cables
Chapter 7 Wiring Method
Chapter 8 Memory Address on the ME-NET
Chapter 9 Description for Data Link Operation
Chapter 10 Description for Computer Link Operation
Chapter 11 Setting of Switches and Parameters
Chapter 12 Errors and Countermeasures
Chapter 13 Replacement of the JW-21MN
Chapter 14 Support Tools
Chapter 15 Specifications
Chapter 16 Appendix
Alphabetical Index
Table of contents
Chapter 1: Features and Functions .......................................................................... 1-1
Chapter 2: Safety Precautions ...........................................................................2-1 to 3
12-2 Flag .......................................................................................................................................... 12-2
[1] Flag table ................................................................................................................................. 12-2
[2] In the case of a master station ................................................................................................. 12-3
[3] In the case of slave station 01 to 77(8) ...................................................................................... 12-4
[4] Monitor operation condition by each station PC ...................................................................... 12-5
12-3 Storage of error code ............................................................................................................... 12-6
Chapter 13: Replacement of the JW-21MN ............................................................ 13-1
Chapter 14: Support Tools ............................................................................... 14-1 to 2
Chapter 15: Specifications ............................................................................... 15-1 to 3
15-1 General specifications ............................................................................................................. 15-1
15-2 Communication specifications ................................................................................................. 15-1
15-3 Data link specifications ............................................................................................................ 15-2
15-4 Computer link specifications .................................................................................................... 15-3
Chapter 16: Appendix .....................................................................................16-1 to 16
16-1 Maintenance and check ........................................................................................................... 16-1
16-2 Recovery method at communication errors ............................................................................. 16-2
16-3 Table of parameter memory ..................................................................................................... 16-8
16-4 Special functions unique to the JW-21MN ............................................................................. 16-13
Chapter 1: Features and Functions
JW-21MN is a ME-NET module for JW20/JW20H/JW30H. Using this module, you can construct an MENET combining various FA equipment such as personal computer and robot.
Using this module, you can easily transmit and receive ON/OFF signals and data with devices that
have a network module which is compatible with the ME-NET specifications.
[When you want to install a JW-21MN in the JW30H, make sure to select one that is compatible with
the JW30H. (See precautions inside the front page of this manual.)]
(1) Data link function
- Send and receive an ON/OFF signal (relay link) and data (register link)
between modules on the ME-NET.
Number of linkage pointsLinkage method
Relay link2048 (256 bytes) in total
Register link 2048 bytes in total
*The amount of data that can be transmitted by one station is a maximum of 1024 bytes,
including both relay link and register link.
- In order to use memory effectively, the JW-21MN has a memory save function. When this
function is enabled, it only needs to receive the specifically required data.
.
(2) Computer link function
- Triggered on commands (instructions) from a host computer which has a network module
compatible with the ME-NET specifications, the JW-21MN starts reading and writing the memory
in the JW20/JW20H/JW30H.
- After an instruction is received from the host computer, the JW-21MN returns a response.
Therefore, the host computer is required to create an application program. For detailed
description of how to transmit instructions and receive responses, see the instruction manual for
the host computer.
1
(3) This module is available communication up to 64 stations. By using a cable, it can be
extended up to 1 km.
Reference
ME-NET is a communication network to link different brands of devices and equipment with different
models of facility control equipment. It has been developed under the support of Toyota Motor Co.,
Ltd.
1-1
Chapter 2: Safety Precautions
2-1 Installation
Do not install or store the JW-21MN in the following conditions.
- Direct sunlight
- Ambient temperature exceeding the range of 0 to 55 ˚C (Storage temperature : -20 to 70 ˚C)
- The relative humidity exceeding the range of 35 to 90%.
- Sudden temperature changes which may cause condensation.
- Corrosive or inflammable gas
- Vibration or hard jolts
Prior to installing or detaching the JW-21MN, make sure to turn OFF the power supply to the JW20/
JW20H/JW30H (main PC of the system).
All screws must be tightened firmly.
2-2 Wiring
Make sure to use only the recommended types (see page 6-1) for cables, connectors, and
crimping tools. Cable and connector installation and changes must be performed only by specialists
approved by the ME-NET bureau.
When using connectors for branch or joint lines, provide jackets to protect connectors.
(When a connector touches with an external enclosure or the like, a communication error may
occur.)
2
"T" jacket
(insulation cover)
"L" jacket
(insulation cover)
Do not connect the ground terminal of the power supply module together with other equipment's
ground lines. Make sure to provide class-3 grounding.
When the JW-21MN is used without connecting a class-3 grounding, malfunctions by noise may
occur.
Communication cables should be arranged as far from any high voltage lines and strong power
lines as possible. Do not lay the communication cable parallel or proximate to these lines.
2-1
Communication cables should be laid from the master station to the slave station one by one.
Multiple wiring from one point or wiring without terminators may cause communication errors.
Joint using a
connector
2
Arrange total cable length within 1 km.
Arrange branch cable line from a trunk within 400 mm.
Prior to any electric welding around the JW-21MN, take out the coaxial cable from the JW-21MN.
While the coaxial cable is connected to the JW-21MN, any electric welding nearby the JW-21MN
will cause the welding current to enter the JW-21MN and may damage part of its circuit pattern.
JW-21MN
Turn "ON"
shield ground switch
FG
Coaxial cable
Wraparound current
(Note)
Electric welder
JW-21MN
Turn "ON"
shield ground switch
FG
Rack etc.
Note: In case enough conductivity is not
established.
2-2
2-3 Treatment
For ventilation, holes are provided in the cabinet to prevent a temperature rise. Do not block the
ventilation holes. Good ventilation is necessary.
Never allow a liquid such as water and chemical solution and a metallic object like a copper wire
inside the JW-21MN to avoid a possible hazard. Otherwise, it may be a cause of machine trouble.
When a trouble or abnormal condition such as overheat, fume, or smoke is met, stop the operation
immediately, and call your dealer or our service department.
2-4 Static electricity
In extremely dry circumstances, the human body may have excessive static current. This excessive
static current may damage parts in the JW-21MN's PC board. Therefore, prior to accessing the JW21MN, touch your hand to a grounded piece of metal to discharge the static current in your body.
2-5 Maintenance
Use a clean, dry cloth when cleaning the JW-21MN. Do not use volatile chemicals such as thinner or
alcohol as it may result in deformation and color fading.
2-6 Allocation of relay number
JW20/JW20H/JW30H which installs JW-21MN are laid out 16 points to the JW-21MN as a relay
number. These 16 points are dummy area which is not used in JW-21MN.
2
2-3
Chapter 3: System Configuration
- An example of system configuration using the JW-21MN as a master station
Robot
(8)
Slave station 77
(8)
Robot control section
ME-NET
module
Master station 00
JW20
JW20H
JW-21MN
JW30H
Slave station 01(8)
(8)
JW-21MN
Slave station 03
Personal computer
Slave station 02
(8)
Programmable controller
ME-NET module
ME-NET module
ME-NET (64 stations max., 1 km max.)
- An example of system configuration using some other module as a master station
Robot
Master station 00
JW50H
JW70H
JW-21MN
JW100H
(8)
Slave station 01
JW20
JW20H
JW30H
JW-21MN
Slave station 02
(8)
Programmable controller
ME-NET module
(8)
ME-NET (64 stations max., 1 km max.)
Slave station 03
Personal computer
ME-NET module
(8)
Slave station 77
Robot control section
ME-NET
module
(8)
3
3-1
Chapter 4: Name and Function of Each Part
Ventilation hole
(Prevent temperature rise inside)
Indication lamp
(See page 12-1)
Module number switch(UNITNO.)
(See page 11-2)
Station number switch(STANO.)
(See page 11-3)
Support tool connection connector
Connect a support tool
and set parameters
Communication cable
connection connector
(Connect master station and slave station)
ME-NET mark
Module insertion guide
(Insert into a rack panel)
Mode switch (MODE)
(See page 11-2)
(Front view)
Module retention screw
(For fixing on a rack panel)
30Hn
mark
(Applied to JW30H)
Rating plate
Switch
Module No. switch
UNIT
NO.
STANO.
STANO.
Station No. switch
Mode switch
4
3
2
1
0
F
E
D
4
Factory
setting
8
7
9
6
0
5
1
4
2
3
8
7
9
6
0
5
1
4
2
3
×10
8
7
9
6
0
5
1
4
2
3
×1
5
6
7
8
9
MODE
A
B
C
0
0
0
2
Termination resistance switch (LT)
(See page 11-3)
Shield ground switch (LG)
(See page 11-4)
Module retention rib
(For fixing on a rack panel)
4
5
3
6
2
7
1
8
0
9
F
A
E
B
D
C
(Rear view)
4-1
Termination resistance
Shield ground switch
Ventilation hole
(Prevent temperature rise inside)
ON
OFF
ON
OFF
switch
LT
LG
OFF
ON
Chapter 5: Installation
MODE
ON
OFF
LT
LG
ON
OFF
Installation procedure
Turn "OFF" the power supply to the JW20/JW20H/JW30H.
Set the mode switch, the termination resistance switch, and the shield ground switch on
the rear side of the JW-21MN.
(See page 11-2 to 11-4 for settings)
(Rear view of the JW-21MN)
Applicable screwdriver
Mode switch
Termination
resistance switch
Shield ground switch
2to3mm
5
0.5mm
Hang the module retention rib of the JW-21MN on the retention rib insertion hole of the JW20/
JW20H/JW30H's basic rack panel, and press in the JW-21MN. Then tighten the module retention
screws at the top of the JW-21MN module using a Phillips screwdriver.
- The JW-21MN cannot be installed on the expansion rack panel.
- Number of installations of the JW-21MN on the same JW20/JW20H/JW30H basic rack panel should
be within 7 in total including other option module (including JW-21MN). Installation of more than seven
modules of the JW-21MN will not allow the JW20/JW20H/JW30H to function.
- Make sure to tighten the module retention screws securely. Looseness of the screws may cause
malfunctions.
5-1
Chapter 6: Processing of Cables
Make sure to use the qualified products shown below for cables and connectors. Cable and connector
installation and changes must be performed only by specialists approved by the ME-NET bureau.
Name
Cable
Crimping tools
Stripper for high frequency
Jacket
Insulation
tape
High frequency
coaxial cable
coaxial cable
"L" jacket
"T" jacket
Self-adhesive tape
Connector
Model
ME-5C-2V
ME-42H
Dice: 67-42H
CST-TM
The system consists of the
main body, a blade cassette,
and a blade setting gauge
ring) back and forth and the cable holder moves back
and forth accordingly. Confirm this movement of the
stripper first.
To hold the stripper, put your forefinger through the
hole and move the cam while pushing back and forth
with your thumb.
6
<Pressure setting>
Set the operation range of the cable holder by moving
the slider at the bottom of the body. Move to the left
to increase pressure.
In this example, set the slider to the cam wheel side’s
end (right side) to set the pressure to low.
Blade cassette
Front
Cam wheel
Rear
Blade (slashed area)
<Adjustment of blade cutting depth>
Adjust the cutting depth of the blade by turning the
two screws at both ends of the screw holder. Set
the blade position to within 1 mm from the cutting
surface of the blade cassette prior to adjusting the
cutting depth. For the cutting depth adjustment, use
the "blade setting gauge" supplied as an accessory
and match the blade position with the caved position
of the gauge. Then move the cam wheel forward
and secure firmly. Turn right lightly both adjustment
screws at either end of the screw holder for
adjustment. (Be careful not to break the blade setting
gauge as it is made of aluminum.)
(Fine adjustment is required to get the
optimum cutting depth.)
To the next page
Left
Slider
Screw holder
Within 1 mm
Set the blade to within
1 mm in order not to
damage the blade by
the blade setting gauge.
Cam wheel
Right
Blade setting gauge
6-2
Coating
(black)
External conductor
(meshed annealed copper wire)
Insulator
(semi-transparent)
From the previous page
<Cutting of coating, external conductor, and insulator>
Put a coaxial cable while remaining approximately 10 mm into
the cable stripper and securely tighten the cable with the middle
finger, ring finger, and little finger of your left hand in order to
hold stable during turning the stripper.
Put your right hand forefinger into the cam wheel and execute
the procedure in order from step 1 below.
Internal conductor
(annealed copper single wire)
While holding the coaxial cable with your left hand, grip the
cable stripper so that it keeps a right angle against the coaxial
cable, and press out the cable stripper with your left hand’s
thumb.
When the adjustment
of the blade is not
required
Step 1
Press the cam wheel forward 3 times and turn
the stripper in the direction of arrow 2 to 3
times.
Step 2
Press the cam wheel forward 1 time and then
turn the stripper in the direction of arrow a
further 2 to 3 times.
Step 3
Press the cam wheel forward 1 more time and
turn the stripper in the direction of the arrow
another 2 to 3 times.
<Removal of coating, external conductor, and insulator>
If the stripper cannot be removed smoothly,
adjustment of the blade is not appropriate. In this
case slide the cam wheel backward and remove
the coaxial cable. Then adjust the blade.
6
10mm
<Fine adjustment of blade cutting depth>
When the cutting depth is too shallow or too deep, and
damages the external conductor or the internal conductor, turn
the screws on the screw holder and adjust the blade depth a
little.
To the next page
6-3
From the previous page
We recommend that in order to keep the adjusted
position of the adjustment screws, after completion
of adjustment for the coaxial cable and the screw
holder, write the screw position etc. on a sticker
and adhere it to the adjustment screws.
<Display of blade setting>
KADAEA
KEDAADFS
K
A
E
C
A
A
D
A
A
D
F
S
F
G
H
H
G
<Replacement of blades>
Blade cassette
Hold up the upper section of the screw holder with
a minus driver, and open the screw holder.
6
Remove the blade cassette and reinsert by turning
the current blade back side front or insert a new
blade cassette from its top.
Screw holder
<Processing of cable end>
Cut the internal conductor of the coaxial cable,
which is already cut by the stripper, using a nipper
etc. to the optimum dimension of 4 mm.
10mm±0.5mm
6-4
BA
A:10±0.5mm
B: 4±0.5mm
6-2 Connector crimping procedure
9
.
1
.
TT-237
TT
237
Required tools: Hand-held crimping tool
Model
Dice No.
Crimping width
: ME-42H
: 67-42H
: 10 mm
Connector: ME-GP-01
Processing procedure
<Insert a sleeve>
Put through a sleeve to an end-processed high
frequency coaxial cable.
<Crimping contact>
Insert a contact into the internal conductor and crimp.
Sleeve
Connector parts
Contact
A:10±0.5mm
B: 4±0.5mm
Shell
A
Sleeve
B
6
Put a contact into dice having a
diamond shape and closely stick its
end surface with the insulator and the
dice. Pull the moving frame to the
fixing frame side and crimp until the
ratchet is removed.
(Crimping width: 2.2 mm)
Widen a little
Crimp
Dice blade shape
2.2 mm
Closed contact
* Use the crimping tool in the direction
shown in the illustration right.
Using the crimping tool in the reverse
direction will not crimp correctly.
Internal conductor
Crimping dice
Moving frame
Insulator
Crimping dice
-
TT
237
9
.
.
1
Contact
Fixing frame
Contact
Closed
contact
To the next page
6-5
From the previous page
TT
237
<Fixing the connector>
Slightly widen the external conductor of the
coaxial cable, which is crimped to a contact on
the internal conductor, in order to smoothly enter
the shell inside the external conductor. Press in
the external conductor end of the coaxial cable
to just before the crimping part of the shell and
put the sleeve into the crimping section. Then
press in the coaxial cable until a “click” sound
can be heard. Confirm that the contact end point
touches your finger cushion.
Widen a little
Sleeve
Shell
Crimping section
Finger
<Crimping external conductor>
Crimp the external conductor.
6
Insert thoroughly the sleeve into the
Completely put into
the crimping section.
crimping section of the shell and crimp.
Put the sleeve in the hexagonal dice
and closely stick the shell to the
crimping dice. Pull the moving frame
to the fixing frame side while pressing
the coaxial cable and shell from both
10
Dice blade shape
sides, and crimp until the ratchet is
removed.
(Crimping width: 10 mm)
Dice blade shape
looking from this side
Crimping dice
Push
Closed contact
* Use the crimping tool in the direction
shown in the illustration right.
Using the crimping tool in the reverse
direction will not crimp correctly.
-
TT
237
9
.
.
1
Insulation test of shell and contact
Using a tester, check the conductivity
between the internal conductor and
the external conductor in the
connector. When the indication of
the tester shows ¥ ohms, the
insulation is appropriate.
Conductivity test
After short-circuiting the one end
of the connector crimped to the
coaxial cable, check that
conductivity is attained.
<Insulation test>
<Conductivity test>
6-6
Chapter 7: Wiring Method
7-1 Cable trunk and branch lines
On the illustration of the cable wiring below, a bold line means a trunk and the thin lines branched
from the trunk with a "T" shape are called branch lines.
400mm max.
The length of branch lines branched from the trunk should be within 400 mm.
Branch line
Trunk cable
7
400mm
Total cable length should be within 1 km.
Branch line
Trunk cable
7-2 Relaying of trunk cables
To relay trunk cables, use the straight joint (ME-JJ-01).
ME-JJ-01
Relaying of trunk cables should be limited to indispensable cases only. Inadvertent relaying of trunk
cables may cause a communication fault such as a weakened signal level due to contact resistance
in the junction connector (straight).
Junction
Junction
7-1
7-3 Cable wiring procedure in control panel
(1) Fixing of the cable
In order not to put any force on the cable and the
JW-21MN, fasten the cable to an line nearby input of
a control panel or a "T" branch point to the JW21MN using saddles etc.
(2) Extra length of cable
Provide an extra length of the cable of 2 to 3 m
inside a control panel for easier processing of the
cable end and easier wiring when changing module
positions.
7
(3) Connection to the JW-21MN
The connector to the JW-21MN should be turned
right to secure locking, not merely inserted.
Communication cable
connection connector
Saddle
JW-21MN
Saddle
Anextralengthof
cableof2to3m
(4) Insulation cover
When the connector touches with a high voltage
section or external enclosures, communication
errors may occur. Make sure to install an insulation
cover.
"T" jacket
(insulation cover)
"L" jacket
(insulation cover)
(5) Grounding of power supply module (JW-22PU/31PU)
Make sure to use a class-3 grounding to connect the GND terminal of the power supply module.
- If the power supply module is not grounded, the JW-21MN cannot conduct with the ground after
turning "ON" the shield ground switch.
When using a JW-31PU AC power supply module
Class-3
grounding
POWER
INPUT
100-120VAC
HALT
OUTPUT
100-120VAC
(24VDC)
1A
SHORT
GND
L
Power input terminal for
85 to 132 VAC
N
GND (ground) terminal
Halt output terminal
7-2
(6) Bending radius of the signal cable should be less than 45 mm (outside).
R45 or larger
- Specification of the cable manufacturer is that bending radius should be 6x of the cable finish
outside diameter (approx. 7.5 mm).
(7) When you install morethan one module of the JW-21MN into one programmable controller, we
recommend to put identification tag on each dable.
7
(8) Before transport or store the JW-21MN, put a protection cap on the connector of the JW-21MN.
7-3
7-4 Waterproof and insulation processing of connectors
In order to prevent water intrusion into the "T" branch connectors and the straight connectors, we
recommend to wind a self-adhesive tape and provide waterproof processing for them. For insulation
purposes, cover these connectors with jackets.
(1) "T" branch connector
To wind a self-adhesive tape, cut the tape at about 10 cm each and start winding from position .
Start winding cut tapes from and as well.
Self-adhesive tape
T’s
7
(2) Straight connector
To wind the self-adhesive tape, cut the tape at about 15 cm each and start winding from position
.
Self-adhesive tape
Straight
Remarks
Prior to adhering the tape, clean the surface of the connectors and stick the adhesive side of
the tape on the connector surface. Wind to lightly spread on the connector surface, and overlap
with the next wrap to half of the tape width. Wind the tape for each wrap evenly so that the
connector metal portion is completely covered with the tape.
Be careful not to excessively stretch the tape.
7-4
7-5 Wiring of cables at outside control panels
Do not bundle the coaxial cable (the trunk and branch lines) together with power cables, and
separate from power cables at least by 100 mm. Do not put the coaxial cable into a power line wired
duct. The best way is to put the communication line in an independent duct.
Be careful that the coaxial cable does not receive any load by laying under a heavy weight such as
other cables.
When other cables run in the same duct as the coaxial cable, run the coaxial cable on the top
position.
Do not run the coaxial cable outdoors as it may cause damage to the JW-21MN due to inductive
lightning or atmospheric charge during lightning.
7-6 Check after wiring
Check the items below after completion of wiring.
Check contents
1The recommended connector types are used.
7
2The connectors are securely locked.
3The connectors are insulated by "T" jacket or "L" jacket.
4The recommended coaxial cable type is used.
5Curved radius of the coaxial cables are more than 45 mm.
6Noheavy load is on the coaxial cables.
The coaxial cable is not bundled with a power line cable.
7
(Away from power line cables more than 100mm.)
8Length oh branch lines is shorter than 400mm.
9Total length of the cable is less than 1km.
Settings of the termination resistance switch and the shield ground switch are as
10
per the drawings.
7-5
7-7 Wiring method for adding a communication station
(1) Branching method
When branching a line for an additional station, be sure to branch from the trunk using a T
connector.
Never branch from a branch line.
(2) Station number of the additional station
Station number
(8)
0 2
Trunk
cable
Station number
Branch
line
0 3
(8)
Addition
Station number
(8)
0 2
Station number
(8)
0 2
Trunk
cable
Station number
(8)
0 6
Station number
(8)
0 6
Station number
Junction
Station number
0 3
0 3
(8)
(8)
Branch line
7
Station number of the newly added station should be next largest number from the current largest
numbered station. Each station should not be required to be arranged in order of each station’s
number.
01(8)
02(8)
03(8)
Addition
Sequential number
00(8)
01(8)
02(8)
03(8)06(8)
means the termination resistance switch being turned "ON."
04(8)00(8)
04(8)
05(8)
05(8)
7-6
(3) Notes
When adding a communication station, follow the items below.
No.
Branch from the trunk cable.
1
Don’t use the same station number
2
twice.
Check the termination resistance
3
switch.
Provide extra length for the
4
expansion cable.
Do not exceed the 1 km limit for total
5
length of the cable.
Change the layout drawing for
6
installation.
Do not overlap with any PC’s
7
communication area.
Set the parameter memory of the
master station and that of the newly
8
added station.
ItemReason
Another branch line from a branch line may not give
appropriate communication by reflection wave.
The use of the same station number twice may cause
communication errors.
When the newly added station becomes a termination of
the circuit, change the setting of the LT switch.
Have enough cable length in order to provide easy wiring.
Longer wiring may cause communication error by signal
attenuation.
Maintain the added work data for future maintenance use.
When the communication area or the flag area of the
added station overlaps with other addresses in use,
communication errors may occur.
Without setting the parameter memory of the master
station and that of the slave station, the added station
cannot communicate.
7
7-7
Chapter 8: Memory Address on the ME-NET
The ME-NET employs a system for addressing individual memory banks in all of the connected
equipment by allocating address throughout the ME-NET. Therefore, the top address in any link area
which will contain in the data link parameters and memory addresses used for computer link
instructions must be a valid memory address in the ME-NET.
The relationship between memory addresses in Sharp PCs (JW20/JW20H/JW30H) and those on the
ME-NET are shown below.
8-1 Memory address for data links
The memory addresses(8) on the ME-NET correspond to the file addresses(8) in a Sharp PC (JW20/
JW20H/JW30H).
(1) Memory address map (against JW20/JW20H)
JW20/20H addressME-NET address
Byte address
1 address = 1
point
I/O relay00000 to 03777
Byte address
(8)
1 address = 8
コ 0000 to コ 0377
points
File address
(8)
1 address = 8
000000 to 0003770000 to 00FF000000 to 000377
points
(8)
Byte unit:
Hexadecimal
Byte unit: Octal
Auxiliary relay04000 to 06777
Latched relay07000 to 07777
General-purpose
relay
TMR/CNT contact
point
TMR/CNT current
value
Register
Self diagnosis
result storage
register
10000 to 15777
T-C000 to T-C777001600 to 0017770380 to 03FF001600 to 001777
コ 0400 to コ 0677
コ 0700 to コ 0777
コ 1000 to コ 1577
b0000 to b1777002000 to 0037770400 to 07FF002000 to 003777
09000 to 09777004000 to 0047770800 to 09FF004000 to 004777
19000 to 19777005000 to 0057770A00 to 0BFF005000 to 005777
29000 to 29777006000 to 0067770C00 to 0DFF006000 to 006777
39000 to 39777007000 to 0077770E00 to 0FFF007000 to 007777
49000 to 49777010000 to 0107771000 to 11FF010000 to 010777
59000 to 59777011000 to 0117771200 to 13FF011000 to 011777
69000 to 69777012000 to 0127771400 to 15FF012000 to 012777
79000 to 79777013000 to 0137771600 to 17FF013000 to 013777
89000 to 89777014000 to 0147771800 to 19FF014000 to 014777
99000 to 99777015000 to 0157771A00 to 1BFF015000 to 015777
E0000 to E1777016000 to 0177771C00 to 1FFF016000 to 017777
000400 to 0006770100 to 016F000400 to 000677
000700 to 0007770170 to 01FF000700 to 000777
001000 to 0015770200 to 0037F001000 to 001577
8
- For details about the address range of relay link, register link, and the JW-21MN flag, see page
11-11 in this manual.
- The addresses that can be used vary with PC model in which the JW-21MN is installed and with
the memory capacity of the PC. For details, see the instruction manual for a particular PC.
8-1
(2) Memory address map (against JW30H)
JW30H addressME-NET address
Byte address
1 address=1point
Relay00000 to 15777
TRM/CNT contact
point
T-C0000 to T-C0777001600 to 0017770380 to 03FF001600 to 001777
TMR/CNT current
value
(8)
Byte address
1 address = 8
コ 0000 to コ 1577
b0000 to b1777002000 to 0037770400 to 07FF002000 to 003777
09000 to 09777004000 to 0047770800 to 09FF004000 to 004777
19000 to 19777005000 to 0057770A00 to 0BFF005000 to 005777
29000 to 29777006000 to 0067770C00 to 0DFF006000 to 006777
39000 to 39777007000 to 0077770E00 to 0FFF007000 to 007777
49000 to 49777010000 to 0107771000 to 11FF010000 to 010777
points
File address
(8)
1 address = 8
point
(8)
Byte unit:
Hexadecimal
Byte unit: Octal
000000 to 0015770000 to 037F000000 to 001577
Register
59000 to 59777011000 to 0117771200 to 13FF011000 to 011777
69000 to 69777012000 to 0127771400 to 15FF012000 to 012777
79000 to 79777013000 to 0137771600 to 17FF013000 to 013777
89000 to 89777014000 to 0147771800 to 19FF014000 to 014777
8
99000 to 99777015000 to 0157771A00 to 1BFF015000 to 015777
E0000 to E5777016000 to 0237771C00 to 27FF016000 to 023777
Register (storable
error history)
TMR/CNT current
value
Expansion relay20000 to 75777
TMR/CNT contact
point
T-C1000 to T-C1777
E6000 to E7777024000 to 0257772800 to 2BFF024000 to 025777
b2000 to b3777026000 to 0277772C00 to 2FFF026000 to 027777
コ 2000 to コ 7577
コ 7600 to コ 7777
030000 to 0355773000 to 3B7F030000 to 035577
035600 to 0357773B80 to 3BFF035600 to 035777
File 1000000 to 0377771-000 to 3FFF000000 to 037777
File 2000000 to 1777772-000 to FFFF000000 to 177777
File 3000000 to 1777773-000 to FFFF000000 to 177777
000000 to 17777710-000 to FFFF000000 to 177777
000000 to 177777 11-000 to 3FFFF 000000 to 177777
000000 to 1777771F-000 to FFFF000000 to 177777
000000 to 17777720-000 to FFFF000000 to 177777
000000 to 17777721-000 to FFFF000000 to 177777
File
register
File 10
(H)
File 10
(H)
::::
File 1F
(H)
File 20
(H)
File 21
(H)
::::
File 2C
(H)
000000 to 1777772C-000 to FFFF000000 to 177777
* ME-NET addresses for file 10 to 2C(H) are out of the range the ME-NET specification.
These are special addresses for the JW-21MN.
- As for address setting range of relay link, register link, and flag of the JW-21MN, see page 11-12
in this manual.
- Available addresses vary with PC model on which the JW-21MN is installed and its capacity. For
details, see an instruction manual for each PC.
8-2
8-2 Memory addresses for computer links
- Data memory byte addresses in the computer link must be entered the same way a data link address
is entered.
- The relay numbers and TMR/CNT numbers are the same for the ME-NET. However the TMR/CNT
contact points correspond to the even addresses from 16000 to 17777(8).
- Program addresses correspond to addresses of file (SEG)8.
For details about the detailed addresses to use on the host computer, see the instruction manual for
the host computer.
(1) Memory address map (against JW20/JW20H)
JW20/20H
address
I/O relay00000 to 03777SEG0 00000.0 to 00377.72048 points
Auxiliary relay/JW20H04000 to 06777SEG0 00400.0 to 00677.71536 points
Latched relay07000 to 07777SEG0 00700.0 to 00777.7512 points
General-purpose relay10000 to 15777SEG0 01000.0 to 01577.73072 points
TMR/CNT contact pointT-C000 to T-C777
I/O relay
コ 0000 to コ 0377
(8)
ME-NET address
Even addresses of SEG0
01600.0 to 01777.7
SEG0 00000 to 00377256 bytes
(8)
CapacityRemarks
512 points
Bit
address
Auxiliary relay
Latched relay
General-purpose relay
TMR/CNT current valueb0000 to b1777SEG0 02000 to 037771024 bytes
Register
TMR/CNT number000 to 7770000 to 0777512 pieces-----
Program
address
JW-21CU/22CU 000000 to 006777SEG8 000000 to 0067773584 step-----
JW-22CU000000 to 016777SEG8 000000 to 0167777680 step-----
コ 0400 to コ 0677
コ 0700 to コ 0777
コ1000 to コ1577
09000 to 09777SEG0 04000 to 04777512 bytes
19000 to 19777SEG0 05000 to 05777512 bytes
29000 to 29777SEG0 06000 to 06777512 bytes
39000 to 39777SEG0 07000 to 07777512 bytes
49000 to 49777SEG0 10000 to 10777512 bytes
59000 to 59777SEG0 11000 to 11777512 bytes
69000 to 69777SEG0 12000 to 12777512 bytes
79000 to 79777SEG0 13000 to 13777512 bytes
89000 to 89777SEG0 14000 to 14777512 bytes
99000 to 99777SEG0 15000 to 15777512 bytes
E0000 to E1777SEG0 16000 to 177771024 bytes
SEG0 00400 to 00677192 bytes
SEG0 00700 to 0077764 bytes
SEG0 01000 to 01577384 bytes
Byte
address
8
- Relay addresses 07300 to 07377(8) and 15760 to 15767(8) in the JW20/JW20H are special
address ranges for relays.
- Available addresses vary with PC model on which the JW-21MN is installed and its capacity.
For details, see an instruction manual for each PC.
8-3
(2) Memory address map (against JW30H)
Relay
Extension relay
TMR/CNT contact points
Relay
Extension relay
JW30H address
00000 to 15777
20000 to 75777
T-C0000 to T-C0777
T-C1000 to T-C1777
コ 0000 to コ 1577
コ 2000 to コ 7577
(8)
TMR/CNT current valueb2000 to b3777SEG0 26000 to 277771024 bytes
09000 to 09777SEG0 04000 to 04777512 bytes
19000 to 19777SEG0 05000 to 05777512 bytes
29000 to 29777SEG0 06000 to 06777512 bytes
39000 to 39777SEG0 07000 to 07777512 bytes
49000 to 49777SEG0 10000 to 10777512 bytes
Register
59000 to 59777SEG0 11000 to 11777512 bytes
69000 to 69777SEG0 12000 to 12777512 bytes
79000 to 79777SEG0 13000 to 13777512 bytes
89000 to 89777SEG0 14000 to 14777512 bytes
99000 to 99777SEG0 15000 to 15777512 bytes
E0000 to E5777SEG0 16000 to 237773072 bytes
Register (storable error
history)
E6000 to E7777SEG0 24000 to 257771024 bytes
TMR/CNT number0000 to 17770000 to 17771024 pcs.-----
8
File 1000000 to 037777SEG1 000000 to 03777716 K bytes
File 2000000 to 177777SEG2 000000 to 17777764 K bytes
File 3000000 to 177777SEG3 000000 to 17777764 K bytes
000000 to 177777SEG10 000000 to 17777764 K bytes
000000 to 177777SEG11 000000 to 17777764 K bytes
000000 to 177777SEG1F 000000 to 17777764 K bytes
000000 to 177777SEG20 000000 to 17777764 K bytes
000000 to 177777SEG21 000000 to 17777764 K bytes
File
register
*
File 10
(H)
File 10
(H)
::::
File 1F
(H)
File 20
(H)
File 21
(H)
::::
File 2C
(H)
000000 to 177777SEG2C 000000 to 17777764 K bytes
JW-31CUH/H1000000 to 016777SEG8 000000 to 0167777680 steps
JW-32CUH000000 to 036777SEG8 000000 to 03677715872 steps
Program
address
JW-32CUH1
000000 to 036777SEG8 000000 to 03677715872 steps
000000 to 076777SEG8 000000 to 07677732256 steps
JW-33CUH/H1000000 to 076777SEG8 000000 to 07677732256 steps
JW-33CUH2/H3
000000 to 076777,
100000 to 176777
ME-NET address
(8)
CapacityRemarks
SEG0 00000.0 to 1577.77168 points
SEG0 30000.0 to 35577.723552 points
SEG0 01600.0 to 01777.7512 points
SEG0 35600.0 to 35777.7512 points
SEG0 00000 to 01577896 bytes
SEG0 30000 to 355772944 bytes
SEG8 000000 to 076777,
SEG9 000000 to 076777
64512 steps
Bit
address
Byte
address
Byte
address
-----
* ME-NET addresses (SEG10 to 2C) of file 10 to 2C(H) are out of ranges of the ME-NET
specification. These are special addresses for the JW-21MN.
- Available addresses vary with PC model on which the JW-21MN is installed and its capacity.
For details, see an instruction manual for each PC.
8-4
Chapter 9: Description for Data Link Operation
The data link function is used to send and receive ON/OFF signals (relay link) and data (register link)
between modules by assigning one module from PCs or FA devices as the master station and other
units as slave stations in the satellite net system. Up to 64 sets of PCs and FA devices can be
connected in the satellite net.
Each station sends data in its sending area cyclically and stores data received from other stations in its
receiving area. For the JW-21MN to execute automatically these sending and receiving procedures, a
special program for communications is required.
When the JW-21MN is assigned as a slave station, it has the standard function and save memory
function for data link, but the data contents for receiving from other stations is different between these
two functions. (When the JW-21MN is used as a master station, only the standard function is available.)
[When all of a master station and slave stations are JW-21MN]
- Master stationData link (Standard function)
- Slave stationData link (Standard function)
Data link (Save memory function)
For the standard function and the save memory function of the JW-21MN, see page 15-2.
9-1 Communication method
[1] Data link (Standard function)
Each station cyclically sends and receives ON/OFF signals and data of the relay link area and register
link area set to a master station parameter.
(1) Relay link
Mainly used for sending and receiving ON/OFF information
[Example] In the case of sending 1-byte data from a master station and slave stations 01 and 02.
Receiving data of all of the relay link area and
}
all of the register link area of all the stations.
In order to effectively use the
memory, unify a partial data area or
sending/receiving address (program)
of slave stations.
9
Master station (PC00)Slave station (PC01)Slave station (PC02)
コ0200
コ0201
コ0202
PC00 ProgramPC01 ProgramPC02 Program
02010
02020
02000
02000
02010
02020
02000
02010
02020
:
Send
:
Receive
- The link relay of the receiving station must be programmed as input signal by the PC programming. Also, it may be used as source (S) side of application instruction.
- The sending and receiving data correspond in bits of one point unit.
(Master station)(Slave station)
コ0200
コ0201
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
Is the same value as
コ0201 of the slave station.
コ0200
コ0201
7 6 5 4 3 2 1 0
Is the same value as
7 6 5 4 3 2 1 0
コ0200 of the master station.
9-1
(2) Register link
Mainly used for sending and receiving numerical data.
[Example] In the case of sending 1 byte data from a master station and slave station 01 and 02.
- The register link of the sending station may be used as D (Destination) side of the application
instruction of the PC program.
- The register link of the receiving station may be used as S (Source) side of the application
instruction of the PC program.
[2] Data link (Save memory function)
The save memory function is to provide a part of the data link area in the slave station data memory as
9
a receiving area. A slave station can receive only the required area by relay link/register link so that the
slave stations can save on use of the memory area.
As this function can unify the receiving area address and the sending area address of each slave
station, the same program can be used for each slave station. Mixed allocation of the addresses with
the data link (standard function) is also possible.
Slave station "n" (JW-21MN: Set to save memory function)
Top address of
master station
link area
Number of
sending bytes of
the master station
Receiving area
from slave station
1 to (n to 1)
Receiving area
from slave station
"n"
Master station 00
:Send
:Receive
Number of offset bytes of
slave station "n"
Address
Top address of slave station
"n" link area
Number of sending bytes
of slave station "n"
+
Memory inside
JW-21MN
Top address of
slave station
"n" link area
Memory inside
control module
Available setting
each slave station
V2
Number of sending
bytes of slave
station "n"
Addresses are allocated as
receiving and sending alternately
*
- Top address of receiving area in a slave station shall be set by the number of offset bytes from
the link area's top. (0 £ Number of offset bytes £ total number of bytes of link area)
Setting item
Set location
Top address of master station link area
Number of sending bytes of the master station
Master station’s parameter
Number of offset bytes of slave station
Number of sending bytes of the slave station
Top address of slave station link area
Number of receiving bytes of slave station
V2
Module No. switch of slave station
Slave station's parameter
*
* When JW-21MNs without 30Hn mark and 30H mark are used, these cannot set each slave
station.
Automatically allocated with the same number of the sending bytes of the slave station.
9-2
9-2 Required transmission time and communication delay time
[1] Required transmission time
This is the time required for the master station to complete communication with all stations, and is
determined by the number of connected stations with and the number of data items to transmit.
Transmission T operation cycle = + 2.5 × P + α + 16 (ms)
N:Total number of link points (value to be calculated by relay link bytes and register link bytes
8 points).
P:Number of connected stations (master + slave)
136 : 136 bits are used for station address and error check data on the communication format.
1250 : Transmission rate: 1.25M bits per second
2.5 : Inter-station wait time plus processing time to move to next station (unit : ms)
α : Communication recovery operation time
• When an error occurs at any station, the master station periodically treats the error.
α = 3.5 × number of error stations ms
16 : Time to maintain token bus. It can enter at random intervals.
[Example] In the case of two connected stations and 8 bytes of link points,
N + 136 × P
1250
PC operation
cycle
Master station
(PC00)
Slave station
(PC01)
Note: Data exchange time between a PC and the JW-21MN can be obtained by the following
Transmission T operation cycle =
8 bytes×8 points×2 stations + 136×2 stations
1250
+ 2.5 × 2 stations + 16 = 21.32 ms
I/O processing
PC operationPC operation
Data exchange Note
T: Send
: Receive
I/O processing
Data exchange
formula:
When the control module is JW-31CUH1/32CUH1/33CUH1/33CUH2/33CUH3,
0.5 ms + 0.5μs x number of bytes to transfer.
(When the number of bytes to transfer is maximum (2304 bytes), 0.5 ms + 0.5μs x 2304 =
1.65 ms)
9
9-3
[2] Communication delay time
The communication data on the ME-NET may have the delay shown below.
PC00PC01
PC00
PC01
ON
I/O
PC00
JW-21MN
JW-21MN
PC01
I/O
9
Delay of input module
Time required for PC to detect input state (one operation cycle max.)
1
2
Operation cycle
3
4
(Communication)
5
6
7
ON
Operation time of sending PC (one operation cycle)
Time to complete sending of operation result (one communication cycle max.)
Time required for receiving PC to write receive data in PC data memory (one operation cycle max.)
Operation time of receiving PC (one operation cycle)
Delay of output module
Communication delay time is the total time of to above.
Remarks
The buffer memory contents of the JW-21MN is renewed for each PC operation cycle.
Therefore, a contact point which turns "ON" for only one operation cycle of a PC may
not be transferred.
9-4
[3] Data transmission between master PC and slave PC
Providing synchronous transfer gives positive data communication.
[An example of synchronized transfer by OUT instruction]
Master station (PC00)Slave station (PC01)
コ0200
コ0203
コ0200
コ0203
Program in master station
00000
02000
F-44
02030
:Send
02000
02000
: Receive
Program in slave station
0200002030
- 00000 is turned "ON" at the master station side.(OUT 02000 is a self-holding circuit.)
-When 02000 is turned "ON" at the slave station side, OUT 02030 is also turned "ON." This is sent
back to the master station side.
9
9-5
9-3 Expansion of network
The JW-21MN can transmit data between 64 stations at maximum. If more than 64 stations are
required for data link, you can add communication stations with the procedure below.
[1] Multiple installation of the JW-21MN
Mounting more than one JW-21MN on the basic rack panel of the JW20/JW20H/JW30H can increase
the number of stations.
[In the case of mounting 4 sets of JW-21MN]
Master MasterMasterMaster
Slave
01 02 03 04 0573 74 75 76 77
63 stations max.
Slave
01 02 03 04 0573 74 75 76 77
63 stations max.
Slave
01 02 03 04 0573 74 75 76 77
72
63 stations max.
9
Slave
01 02 03 04 0573 74 75 76 77
63 stations max.
Remarks
-When installing multiple number of modules on a single PC, make them allocated so that relay
link area, register link area, and flag area may not overlap with each other.
- When installing multiple number of modules on a single PC, pay attention to the total communication data volume and the number of bytes available for communication area.
- Though more than one JW-21MN can be mounted on single basic rack panel, they cannot
directly communicate with other stations beyond one network.
72
: Master station
Slave station number 01 to 77: octal
: Slave station
9-6
[2] Hierarchical link
When 2 sets of JW-21MN are mounted on the basic rack panel of the JW20/JW20H/JW30H,
hierarchical link communication is possible and can increase the number of stations.
- Pay attention to hierarchical link system consisting of more than two levels as it takes time for
communication between the stations at the highest level and at the lowest level.
- Though more than one JW-21MN can be mounted on single basic rack panel, they cannot
directly communicate with other stations beyond one network.
9-7
Chapter: 10 Description for Computer Link Operation
When connected to a host computer with a network module that is compatible with the ME-NET
specifications, the JW-21MN can transfer data.
10-1 Computer link function
The host computer communicates with each station number one by one. On the computer link, the
host computer can communicate with any required station regardless of whether it is the master or
slave station.
(1) The host computer instructs station number/communication contents/memory address/data etc. of
the communicating station as a "command."
(2) The "command" receiving station processes this data and returns the result as "response."
(System example)
Master station (00)Slave station 01(8)
Slave station 02(8)Slave station 03(8)
Command
Response
In order to use the computer link function above, the host computer needs program application
software. For programming this software, see the instruction manual attached with the network
module.
Computer link commands of the ME-NET can be roughly classified into basic commands and
optional commands.
Host computer
[1]Basic commands
Commands mainly used with PCs.
These commands are the functions used to read and write relays and registers. The JW-21MN
supports all of the basic commands (for both the 47 and 57 family). See the next page.
Reference
The 47 and 57 family: ME-NET computer link commands are divided into the 47 and 57 families of
commands, which use different communication formats. However, you do not
need to be concerned about the differences in these families when using the
computer link function.
[2] Optional commands
Commands other than the basic commands. These are individual commands specific to each device.
See page 10-3.
10
10-1
10-2 Basic commands
Meaning and available memory address ranges of each command are shown in the table below
- Numeric values of each command are command numbers specified by the ME-NET.
- Write mode assignment shows write enabled/disabled to the PC memory. (See command No. F9(H).)
10
Command
Reading Relay
20
(H)
Relay start/reset
30
(H)
Reading register current value
24
(H)
Write to register
34
(H)
Write the same data into
register
35
(H)
Set/reset TMR/CNT
32
(H)
Read program memory 04
(H)
Write program memory
14
(H)
Read PC operation status
E8
(H)
Stop PC operation
F8
(H)
Restart PC operation
P8
(H)
Read write mode status
E9
(H)
Assign write mode
F9
(H)
Read manufacturer code
6F
(H)
Setting available address range (octal) and notes for use
JW20/JW20HJW30H
00000 to 15777 (relay)
T-C000 to 777 (TMR/CNT contact
point)
00000 to 15777,
20000 to 75777 (relay)
T-C0000 to 0777,
T-C1000 to 1777 (TMR/CNT contact)
Set in units of one points
00000 to 15777 (relay)
00000 to 15777
20000 to 75777 (relay)
Set in units of one points (SET = 1, RESET = 0)
コ 0000 to コ 1577
b0000 to b1777
09000 to 09777, 19000 to 19777
29000 to 29777, 39000 to 39777
49000 to 49777, 59000 to 59777
69000 to 69777, 79000 to 79777
89000 to 89777, 99000 to 99777
E0000 to E1777
コ 0000 to コ 1777, コ 2000 to コ 7777
b0000 to b1777, b2000 to b3777
09000 to 09777, 19000 to 19777
29000 to 29777, 39000 to 39777
49000 to 49777, 59000 to 59777
69000 to 69777, 79000 to 79777
89000 to 89777, 99000 to 99777
E0000 to E1777
- For details about the file register,
see page 8-4.
Can be set to read up to 1024 bytes at one time.
Write to register 24
.
(H)
The allowable address ranges are the same as shown in "Reading the
register's current value 24
Can be set up to 1024 bytes at one time.
."
(H)
You must enter a value for the number of bytes that will be written.
The allowable address ranges are the same as shown in "Reading the
register's current value 24
Can be set up to 1024 bytes at one time.
."
(H)
000 to 777000 to 0777, 1000 to 1777
Set in units of one points (SET = 1, RESET = 0)
Different with control module and
memory module types
- JW-21CU: 000000 to 006777
- JW-22CU: 000000 to 006777
When using memory
module JW-21MA
/21MO/21ME)
000000 to 016777
(When using memory
Different with control module
- JW-31CUH/H1: 000000 to 016777
- JW-32CUH: 000000 to 036777
- JW-32CUH1: 000000 to 036777
or 000000 to 076777
- JW-33CUH/H1: 000000 to 0076777
- JW-32CUH2/H3: 000000 to 076777,
1000000 to 176777
module JW-22MA)
Can be set up to 512 steps per one reading.
Data are read out with machine language.
The allowable address ranges are the same as shown in "Reading program
memory 04
Can be set up to 512 steps per one writing
.
(H)
This command can be executed only when a PC is stopped operation with
"PC operation stop" command, and "write mode specification as 2."
-----
When this command is executed, the PC cannot be restarted using a support
tool.
This command is effective only when the PC is stopped operation by the "PC
operation stop" command. When the PC stops operation with another reason,
the PC cannot restart operation with this command.
-----
Prohibit writing all PC memory --- 0
Allows writing to PC data memory --- 1
Allows writing to PC all memory --- 3Choose any of these.
The JW-21MN returns manufacturer code (CL: SHARP), and model code (A:
PC).
Write mode
assignment
None
1or2
None
1or2
None
2 only
None
10-2
10-3 Optional commands
The JW-21MN optional commands are any commands not specified in the ME-NET specifications.
These are commands specific to the JW-21MN. The host computer may use these optional
commands for communication between JW-21MNs and PCs (JW20/JW20H/JW30H) with a JW-21MN
installed. The table below shows optional commands (1) to (19) for the JW-21MN.
Optional commandReference page
[1] Read free memory size10-4
[2] Monitor TMR, CNT, and MD10-4
[3] Reading PC mode10-5
[4] Setting PC mode10-5
[5] Reading system memory10-6
[6] Writing system memory10-6
[7] Reading date10-7
[8] Setting date10-7
[9] Reading time10-8
[10] Setting time10-8
[11] Correct clock time10-9
[12] Monitor step status10-9
[13] Read the optional parameters10-10
[14] Set the optional parameters10-10
[15] Read the special I/O parameters10-11
[16] Set the special I/O parameters10-11
[17] Set the secret function10-12
[18] Release the secret function, register a password10-12
[19] Check the secret status10-13
JW20/JW20H only
JW30H only
10
[Communication format, basic pattern]
Command
"+""C""L""A"CMDSUBATTR C.TEXT
Response (normal)
"+"ACK"C""L""A"CMDSUBATTR C.TEXT
- Response on error: See page 10-14.
SymbolDataDetails
(H)
"+"2B
"C"43
"L"4C
"A"41
CMD*1Function code
SUB*2Sub code
ATTR00
C.TEXT
R.TEXT
*3
ACK00
Optional command
(H)
SHARP manufacturer
Identification code
(H)
(H)
Model code (PC)
(H)
Always set to 00
Assignment detail of
each optional code
(H)
Response (when normal)
*1, *2, and *3
See each optional
command (10-4 to 10-13)
[Ex.] To read data from system memory addresses #201 and #202
(201(8) = 81(H), Data in cells: Hexadecimal notation)
Command
Response
"+""C""L""A"CMDSUBATTRSEGSADRN
"+"ACK"C""L""A"CMDSUBATTRSEGSADRND1
(H)
(H)
(H)
Function code
Sub code
Read out segment
Read out address #000 to #377
(H)
H)
(H)
Number of read out bytes (2 byte data, in order of L and H)
(8)
(2 byte data, in order of L and
Reading data of system memory (1 byte data x number of
reading data bytes)
2B434C414344000881000200
"+""C""L""A"CMD SUB ATTR SEGSADRN
2B00434C4143440008810002000101
ACKCMD SUB ATTR SEGSADRN#201 #202
−−−
−−−
−−−
−−−
DN
10
[6] Writing system memory
Write the specified number of bytes of data from the specified address in system memory.
[Write mode assignment]: 2 (When the PC has been stopped with a "halt PC operation F8(H)"
command)
[Communication format]
Command
Response
SymbolDataDetails
CMD43
SUB54
SEG08
SADR0000 to 00FF
N0001 to 0100F
D1 to DN See the example
[Ex.] To write data 01(H), 01(H) to data from system memory addresses #201 and #202
(201(8) = 81(H), Data in cells: Hexadecimal notation)
"+""C""L""A"CMD SUB ATTR SEGSA DRND1
"+"ACK "C""L""A" CMD SUB ATTR SEGSA DRN
(H)
(H)
(H)
Function code
Sub code
Write segment
(H)
Write address #000 to #377
(H)
Number of writing bytes (2 byte data, in order of L and H)
(8)
(2 byte data, in order of L and H)
Write data of system memory (1 byte data x number of write
data bytes)
Read data
DN
Command
Response
2B434C4143540008810002000101
"+""C""L""A" CMD SUB ATTR SEGSADRN#201 #202
Write data
2B00434C414354000881000200
ACKCMD SUB ATTR SEGSADRN
10-6
[7] Reading date
Read the year, month, date, and day of week. However, when JW-21CU or JW-31CUH/H1 is used as
PC, they do not have clock function and the reading will be meaningless.
[Ex.] Reading out April 25, 1996 (Thursday). (The data in cells are in hexadecimal notation)
Command
Response
2B434C4145A200
"+""C""L""A"CMD SUB ATTR
2B00434C4145A20096042503
ACKCMD SUB1996 April25 Thursday
[8] Setting date
Set year, month, day, and day of week. However, when JW-21CU or JW-31CUH/H1 is used as PC,
these PC do not have clock function and date cannot be set.
[Write mode assignment]: 1 or 2
[Communication format]
Command
"+""C""L""A"CMD SUB ATTRYMDDW
10
Response
"+"ACK "C""L""A" CMD SUB ATTR
SymbolDataDetails
(H)
CMD45
SUBB2
Function code
(H)
Sub code
(Symbols other than the
left: See page 10-3.)
Y, M, D, DWSame as the "Reading out date" above.
[Ex.] Set May 1st (Wednesday), 1996 (Data in frame: Hexadecimal)
Command
Response
2B434C4145B20096050102
"+""C""L""A" CMD SUB ATTR 1996 May1 Wednesday
2B00434C4145B200
ACKCMD SUB
10-7
[9] Reading time
Read out time (hour, minute, second) of clock. However, when JW-21CU or JW-31CUH/H1 is used as
PC, these PC do not have clock function and the read out data will be unsettled.
[Example] Reading a time of 8 : 30 : 30 AM. (The data in cells are in hexadecimal notation)
Command
Response
2B434C4145A300
"+""C""L""A"CMD SUB ATTR
2B00434C4145A300083030
ACKCMD SUB8:30: 30AM
[10] Setting time
Set time (hour, minute, second) of clock. However, when JW-21CU or JW-31CUH/H1 is used as PC,
these PC do not have clock function and date cannot be set.
[Write mode assignment]: 1 or 2
[Communication format]
Command
"+""C""L""A" CMD SUB ATTRHMSCTRL
Response
"+"ACK "C""L""A" CMD SUB ATTR
SymbolDataDetails
(H)
CMD45
SUBB3
Function code
(H)
Sub code
H, M, SSame as the "Reading out time" above.
(H)
Start operation of the clock
(H)
Stop operation of the clock
(H)
Reset digits lower than the second
Correct 30 seconds (Round off 0 to
(H)
29 sec., and round up 30 to 59 sec.)
CTRL
00
01
02
08
[Example] When the time is 13 : 30 : 00. (The data in cells are in hexadecimal notation)
Command
Response
2B434C4145B30013300000
"+""C""L""A" CMD SUB ATTR 133000 At operation
2B00434C4145B300
ACKCMD SUB
10-8
[11] Correct clock time
Correct the clock setting. However, when a JW-21CU or JW-31CUH/H1 is used as PC, they do not
have clock function and the reading will be meaningless.
[Write mode assignment]: 1 or 2
[Communication format]
Command
"+""C""L""A" CMD SUB ATTR CTRL
Response
"+"ACK "C""L""A" CMD SUB ATTR
SymbolDataDetails
(H)
CMD45
SUBB4
00
01
CTRL
02
08
Function code
(H)
Sub code
(H)
Start operation of the clock
(H)
Stop operation of the clock
(H)
Reset digits lower than the second
Correct 30 seconds (Round off 0 to
(H)
29 sec., and round up 30 to 59 sec.)
[Ex.] To stop the clock. (The data in cells are in hexadecimal notation)
Command
Response
2B434C4145B40001
"+""C""L""A" CMD SUB ATTR Stop operation
2B00434C4145B400
ACKCMD SUB
[12] Monitor step status: JW20/JW20H only
Read out "N" byte data from specified process and step.
[Ex.] To determine whether the secret function is enabled (the data in cell are in hexadecimal).
Command
Response
2B434C4146FD00
"+""C""L""A" CMD SUB ATTR
2B00434C4146FB0001
ACKCMD SUBEnable
10
10-13
[20] Response on error
When a station that has received data encounters an error while processing data after receiving an
optional command from the host computer, it will send a response as follows.
10
Response
"+"ACK "C""L""A" CMD ERR
ACK dataERR dataDetails
01
06
07
0F
10
11
FF
(H)
(H)
(H)
(H)
(H)
(H)
(H)
NoneCommand data format is not correct.
NonePC is not stopped operation.
NoneWrite data is not properly done.
NoneMemory access time out.
NoneWrite mode is not compatible.
NoneAssigned address is not program area.
02
(H)
Assigned address is not set value of TMR, CNT, or MD.
(H)
04
05
13
30
31
32
33
34
52
53
Tried to set/reset MD.
(H)
Set value of number of bytes exceeds the set range.
(H)
Tried to set/reset TMR, CNT while the PC is stopped operation.
(H)
A password is not registered.
(H)
The secret function is enabled.
(H)
The password is not correct.
(H)
Password error.
A JW-21CU/JW-31CUH is used as the PC, and an attempt was
(H)
made to read, set, or correct the time.
(H)
Start/end block error
(H)
System memory is not correct.
- Symbols other than above
"+," "C," "L" and "A" : Same as the description on page 10-3.
CMD: Function code for each optional command
See pages 10-4 to 10-13.
10-14
Chapter 11: Setting of Switches and Parameter
11-1 Operation procedure
Start
Set switches of the JW-21MN
Install the JW-21MN
Turn "ON" the power of the slave stations
Set parameter of slave stations
Turn "ON" the power of the master station
Set parameter of master station
---------- See pages 11-2 to 11-4.
---------- See page 5-1.
---------- See page 11-22.
11
---------- See page 11-5.
End
Remarks
-Make sure to turn "OFF" the power of the PC prior to setting the module No. switch and station
number switch after installing the JW-21MN.
- Prior to setting the parameters, set the mode of the JW-21MN to "program mode."
-Make sure to write the set parameters into the EEPROM on the JW-21MN after setting.
11-1
11-2 Switch setting of master station and slave station
Prior to using the JW-21MN, set the following switches.
[1] Mode switch (MODE)
Set whether the JW-21MN is used as a master station or a slave station as well as
the data link type (standard function or save memory function).
Station
Data link
Setting value of
the mode switch
11
Master station
Standard function
Standard function
2
2
Slave station
4
5
3
Save memory function
3
6
2
7
1
8
0
9
F
A
E
B
D
C
-Do not set the mode switch to "0," "1," or "4" to "F.
- The computer link function is effective for both "2"
and "3" settings.
4
5
3
6
2
7
8
1
0
9
F
E
D
MODE
A
B
C
(Rear side)
(Factory setting: 2)
[2] Module No. switch (UNIT NO.)
Select error history storage registration area and data link (save memory function) area for a slave
station by setting the mode switches.
(1) Setting the mode switch to "2"
Setting value of the
module No. switch
0
1
2
3
4
5
6
7 to 9
Error history storage register
JW20/JW20HJW30H
E1400 to E1577
E1200 to E1377
E1000 to E1177
E0600 to E0777
E0400 to E0577
E0200 to E0377
E0000 to E0177
E7400 to E7577
E7200 to E7377
E7000 to E7177
E6600 to E6777
E6400 to E6577
E6200 to E6377
E6000 to E6177
Prohibited setting
UNIT
NO.
8
7
9
6
0
5
1
4
2
3
(Factory setting: 0)
(2) Setting the mode switch to "3"
Setting value of the
module No. switch
0
1
2
3
4
5 to 9
Data link (Save memory function)
Relay link area
コ1000 to コ1077
コ1100 to コ1177
コ1200 to コ1277
コ1300 to コ1377
コ1400 to コ1477
Register link area
09000 to 09777
19000 to 19777
29000 to 29777
39000 to 39777
49000 to 49777
Prohibited setting
Error history storage register
JW20/JW20H
E1400 to E1577
E1200 to E1377
E1000 to E1177
E0600 to E0777
E0400 to E0577
E7400 to E7577
E7200 to E7377
E7000 to E7177
E6600 to E6777
E6400 to E6577
- The setting value of the module No. switch should not be the same as any other option
module (including JW-21MN) mounted on the same basic rack panel.
- The top address of each relay link area and register link area corresponds to f1 to fn and
g1 to gn on page 11-8 and 11-9.
11-2
(Front side)
JW30H
(3) Station number switch (STA NO.)
Make sure to set the master station number to "00." For slave stations, set from "01" to "77" in
octagonal sequence.
- Maximum amount of slave stations to be connected are
63. As the station number should be assigned by
octagonal figures, setting of the following values causes
errors and the JW-21MN cannot communicate.
08, 09, 18, 19, 28, 29, 38, 39, 48, 49, 58, 59, 68, 69, and
78 to 99.
- Be careful that there is no doubly allocated number and no
number has been skipped.
STA NO.STA NO.
8
7
9
6
0
5
1
4
2
3
(Factory setting: 00)
8
7
9
6
0
5
1
4
2
3
×1×10
(Front side)
(4) Termination resistance switch (LT)
When the JW-21MN is at the termination station of the communication line, make sure to set the
termination resistance switch to "ON."
TurnONtheterminationresistanceswitches
Setting
ON
OFF
forthesetwostations.
Condition of the JW-21MN
Insert a termination resistance
Do not insert a termination resistance
ON
OFF
LT
4
5
3
6
2
7
1
8
0
9
F
A
E
B
D
C
-When using a termination (ME-75 made by Toko
Denshi) (device to function as terminator) at the end
(Factory setting: OFF)
of a signal cable, turn "OFF" the termination resistance switch of the termination station.
Termination
Termination
(ME-75)
Termination
1 km max.
(Rear side)
ReferenceNeed for the termination resistance
When a termination resistance is not provided at a communication circuit end, the end of the circuit
generates reflection waves. These reflection waves collide with sending signals and abnormal
communication may occur. The termination resistance prevents the occurrence of these reflection
waves. On the other hand, when an intermediate station has its termination resistance switch turned
"ON," this station causes reflection and attenuates signals and causes abnormal communication.
11
11-3
(5) Shield ground switch (LG)
For communication lines, use a coaxial cable.
As coaxial cable is an unbalanced circuit, ground its shield by
turning "ON" the shield ground switch.
Turn "ON" shield ground
switch
Coaxial cable
Turn "ON" shield ground
switch
4
5
3
6
2
7
1
8
0
9
F
A
E
B
D
C
11
Setting
Condition of the JW-21MN
Conductive between the shield and FG
ON
OFF
of the JW20/JW20H/JW30H
Not conductive between the shield and
FG of the JW20/JW20H/JW30H
ON
OFF
LG
(Rear side)
(Factory setting: ON)
Remarks
-Make sure to provide a class-3 grounding for the GND terminal of the power supply module.
Without grounding the power supply module, the JW-21MN cannot become conductive with the
ground after turning "ON" the shield ground switch. (See page 7-2.)
- Prior to any electric welding around the JW-21MN, take out the coaxial cable from the JW-21MN
While the coaxial cable is connected to the JW-21MN, any electric welding nearby the JW-21MN
will cause the welding current to the JW-21MN and may damage part of its circuit pattern.
JW-21MN
Coaxial cable
JW-21MN
Turn "ON" shield
ground switch
FG
Wrap around current
Note:
Electric welder
11-4
Turn "ON" shield
ground switch
Rack etc.
Note: In case enough
conductivity is not
established.
11-3 Setting contents of master station parameters
[1] Setting contents
When the JW-21MN is used as a master station, set the following items for parameters.
When the JW-21MN is used as a slave station, setting contents of the parameter address 004004 to
004377(8) and 004404 to 004777(8) may vary with the data link setting condition as a slave station
(standard function/save memory function).
For details of the parameter memory, see pages 16-8 to 16-12.
*Corresponding symbols on pages 11-7 to 11-9
(8).
Parameter
address
004000
to 004001
004002
004003
004004
to 004007
004010
to 004377
004400
to 004403
Setting item
Top address of relay link area on
the master station
Function
Number of connecting stations
Relay link area top address or number
of offset bytes on slave station 01
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
Relay link area top address or
number of offset bytes on slave
station 02 to 77
(8).
Top address of register link area
on the master station
Register link area top address or
number of offset bytes on slave
station 01
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
Register link area top address or
(8).
number of offset bytes on slave
station 02 to 77
(8).
Number of sending bytes of master
station relay link area.
Number of sending bytes of slave
station 01
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
(8) relay link area.
Number of sending bytes of slave
station 02 to 77(8) relay link area.
Number of sending bytes of master
register link area
Number of sending bytes of slave
station 01
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
(8) register link area.
Number of sending bytes of slave
station 02 to 77(8) register link area.
Slave station connection status
(error code output)
004404
to 004407
004410
to 004777
005000
to 005001
005002
to 005003
005004
to 005177
005200
to 005201
005202
to 005203
005204
to 005377
007750
to 007757
*
Yes/no station number information
output.
V2
007763
(8)
Initial
value
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
(H)
Details (setting range)
Set by file address(8)
(000000 to 007777(8))
Set to relay/register link (01
(H) only).
Set the amount of stations including a master station
by decimals (002 to 064
- When a slave station is
a data link (standard
function), set the top
address by file
address
(8)
(D)).
- When a slave station is
a data link (save
memory function), set
the number of offset
bytes by decimals:
00000 to 00256(D)
Set by file address
- When a slave station is
a data link (standard
function), set the top
address by file
address
(8)
(8)
- When a slave station is
a data link (save
memory function), set
the number of offset
bytes by decimals:
00000 to 02048(D)
Set the number of bytes by decimals: 00000 to
00256
(D)
Set the number of bytes by decimals.
- When a slave station is data link (standard
function): 00000 to 00256
(D).
- When a slave station is data link (save memory
function): 00000 to 00032(D).
Set the number of bytes by decimals: 00000 to
01024
(D)
Set the number of bytes by decimals.
- When a slave station is data link (standard function): 00000 to 01024
(D)
- When a slave station is data link (save memory
function): 00000 to 00256
(D)
Turn ON respective bit.
(See page 16-12.)
When set to 01(H), stores its station number to the
data memory (effective when 1 byte next to 24 bytes
of flag area is 007767
(8) = 80(H).)
*
a 0
–
–
a 1
−−−−
a 2
to a 77
b 0
b 1
−−−−
b 2
to b 77
c 0
c 1
−−−−
c 2
toc 77
d 0
d 1
−−−−
d 2
tod 77
–
–
11
* "Connection condition of slave stations" and "Yes/no station number information out" are unique
functions of the JW-21MN.
11-5
*Corresponding symbols on pages 11-7 to 11-9
Set item
Flag area top
address
(communication
e
and PC operation
status monitor flag)
Parameter
address
007764E0File address lower digits
00776501File address upper digits
00776600File number
00776780Flag output (Yes: 80
(8)
Initial
value
(H)
Details (set range)*
Set range: See page 11-11 to
11-12.
(H)
- Initial value: 01E0
000740
(H)
, No: 00
(H)
(8)
)
(コ 0740)
to
- Start/stop
operation of the
JW-21MN
r
- Write to the JW-
00777701
Select "00, 01, 08, 80, 81" with hexadecimal notation.
(See page 16-12.)
21MN EEPROM.
- to are equivalent to number of page 11-13.
-Parameter addresses other than above mentioned are reserved areas and prohibited to be changed.
-When the JW-21MN is a slave station, set the top address and the number of sending bytes so
that the data can be within the setting range of each area (see pages 11-7 to 11-12). When any
slave stations are except JW-21MN, see the instruction manual of each device.
e
---
0
11
11-6
[2] Communication area map
(1) In case that setting data link (the standard function) when the master station and all slave
stations are JW-21MN's.
○ : Send
● : Receive
Master station 00
(Data memory)
a
0
c
0
c
1
Relay link area
(Within a total of 256 bytes)
c
n
0
b
0
d
d
1
(8)
Slave station 01
(Data memory)
1
a
0
c
c
1
c
n
1
b
0
d
d
1
n=02to77
(8)
(8)
a
c
c
c
b
d
d
Slave station n
(Data memory)
n
0
1
n
n
0
1
d
Register link area
(Within a total of 2048 bytes)
Flag
area
- Set the relay link area, register link area, flag area within the setting range nominated in page 11-
- Set a0 to en for parameters of master station and slave station. (See page 11-5, 6 and 22)
n
0
e
bytesbytesbytes
242424
11, 12 and 23. However, be careful not to double any address allocation of these.
Parameter for setting in master station
Top address of relay link area a0, a1 to an
Top address of register link area b0, b1 to bn
Number of sending bytes of relay link area
c0, c1 to cn
d
e
n
1
Parameter for setting in slave station
Top address of flag area (slave station) e1 to en
d
e
n
n
11
Number of sending bytes of register link area
d0, d1 to dn
T
op address of flag area (master station) e0.
- Total number of sending bytes per station both relay link and register link is max. 1024 bytes.
c0+d0, c1+d1, cn+dn = 0 to 1024 bytes.
11-7
(2) In case that setting the data link (save memory function) when the master station and all
slave stations are JW-21MN's.
Memory addresses inside control module of slave station continue in order of receiving and
sending.
Master station 00
(Data memory)
a
0
a
1
h
1
a
n
c
0
c
n
c
1
c
(Within a total of 256 bytes)
Relay link area
d
(Within a total of 2048 bytes)
Register link area
n
b
0
b
1
i
1
b
n
0
d
n
d
1
d
n
(8)
f
g
1
*
1
*
f
h
+
c
g
i
+
d
1
1
h
1
1
1
i
1
Slave station 01
(Data memory)
(Within JW-21MN)
1
1
n=02to77
(8)
*
(Within control
f
1
module)
*
g
1
(8)
f
g
n
n
Slave station n
(Data memory)
(Within
64 bytes
in total)
※
f
n
h
n
+
c
n
c
n
- Omitted a memory map
inside control module.
(Within a
total of
512 bytes)
*
g
n
n
i
+
d
n
d
n
○ : Send
● : Receive
11
Flag
area
0
bytesbytesbytes
242424
e
1
e
n
e
- Set the relay link area, the register link area, and the flag area within the settings range of page
11-11, 12 and 23. Be careful not to double any address allocation of these.
- Set a0 to en, h1 to in above for parameters of master station and slave station (see page 11-5, 6
and 22) and set f1/fn/g1/gn marked "*" by module No. switch of the JW-21MN (see page 11-2).
Parameter for setting in master station
Top address of relay link area a0, a1 to an
Parameter for setting in slave station
Top address of flag area (slave station) e1 to
en
Top address of register link area b0, b1 to bn
Number of receiving bytes of relay link area
h1 to hn
Number of sending bytes of relay link area
c0, c1 to cn
Number of receiving bytes of register link
area i1 to in
Number of sending bytes of register link
area d0, d1 to dn
Top address of flag area (master station) e0.
* Number of receiving bytes of slave station (h1 to hn, i1 to in)
Select self-setting or "same as number of sending bytes (c1 to cn, d1 to dn)" according to
parameter (007720 to 007723) of slave station.
Note: When installing JW-21MN without 30Hn mark or 30H mark into JW20/JW20H, number
of receiving bytes of each slave station is the same as number of sending bytes.
*
V2
11-8
- Set the receiving area for save memory function within the range of the link area.
0 £ a1£ Total number of bytes of relay link area -h1
0 £an£ Total number of bytes of relay link area -hn
0 £ b1£ Total number of bytes of register link area -i1
0 £ bn £ Total number of bytes of register link area -in
-Number of offset bytes can be set exceeding the number of sending bytes of the master station.
a1, an‡ c0 and b1, bn‡ d0
- Setting example of top address f1/fn/g1/gn
When the setting value of the module No. switch is "2," f1/fnis コ1200, g1/gn is 29000.
(3) When the master station and slave stations are all JW-21MN's and both data link (the stan-
dard function) and data link (the save memory function) are set among slave stations.
Set signs below by the parameters of the master station (page 11-5, 6) and the module No. switch
of the JW-21MN (page 11-2).
- An example of a relay link area map for the setting of the data link (standard function) for slave
station 01 and the data link (save memory function) to slave station 02.
b
Slave station 01
a
Master station 00
a
0
c
c
c
0
1
2
2
(8)
(the standard function)
a
c
c
c
Total number of bytes of relay link area (
c
2 + h2≦ 64 bytes 0 ≦a2≦c0 +
- An example of register link area map for the setting of the data link (the save memory function) to
slave station 01 and 03 and data link (the standard function) to slave station 02.
Slave station 01
Master station 00
b
0
b
1
3
d
1
(8)
(the save memory function)
d
0
g
i
Data link
(within JW-21MN)
1
1
0
1
2
Data link
1
c
(8)
(8)
a
2
f2h
c
0 + c1 + c2) ≦ 256 bytes
c
1
Slave station 02
Data link
(the standard function)
b
2
d
0
Slave station 02
Data link
(the save memory function)
(within JW-21MN)
2
f
2
h
2
2
+
c
2
(8)
(the save memory function)
g
(8)
f
2
Slave station 03
Data link
(within JW-21MN)
3
(within
control module)
11
(8)
d
3
d
1
d
2
d
3
Total number of bytes of register link area (
0 ≦
b
1
≦
i
1
+
d
1
≦ 512
g
1
+
i
1
d
1
d
0
+
d
2
+
d
3
0 ≦
i
3
+
d
3
≦ 512
b
3
≦
11-9
i
g
3
1+3
i
d
3
d
1
d
2
d
3
d
0
+
d
1
+
d
2
+
d
3
) ≦ 2048 bytes
d
0
+
d
1
+
d
2
[Example for setting]
The master station and slave station 01 and 02 are JW-21MN.
It shows example for setting that slave station 01 is data link (standard function) and slave station 02 is
data link (save memory function with 30H mark).
Relay
link area
Register
link area
Flag
area
8 bytes
4 bytes
8 bytes
16 bytes
8 bytes
8 bytes
24 bytes
Station No.
information
コ0210
コ
0220
コ0224
コ
0233
コ
0400
コ
0420
0430
コ
コ
0437
コ
0740
コ0767
コ
0770
Master
station
Flag
24 bytes
Station No.
information
(Standard)
Slave station 01
コ0200
コ0210
コ0214
コ0223
コ0400
コ0420
コ0430
コ0437
コ0740
コ0767
コ0770
(Save memory)
Slave station 02
Off set
(4 bytes)
Off set
(8 bytes)
Flag
24 bytes
Station No.
information
19000
19027
19030
○ : Send
● : Receive
1000
コ
コ
1004
4 bytes
8 bytes
1013
コ
9000
8 bytes
9010
8 bytes
9017
11
Top address of relay link area
Number of off set bytes of relay link area
Number of sending bytes of relay link
Number of receiving bytes of relay link
Top address of register link area
Number of off set bytes of register link area
Number of sending bytes of register link
Number of receiving bytes of register link
Top address of flag area
Station number information output
Maser station
コ0210
–
8 bytes
–
コ0400
–
16 bytes
–
0740
コ
Yes
Slave station 1
(standard)
コ0200
–
4 bytes
–
コ0400
–
8 bytes
–
*コ0740
*Yes
Slave station 2
(save memory)
**コ1000
4 bytes
8 bytes
*4 bytes
**09000
8 bytes
8 bytes
*8 bytes
*19000
No mark -- Setting by parameter of master station
* ------------Setting by parameter of slave station
** ----------- Setting by module No. switch of slave station
*Yes
11-10
[3] Setting range of relay link area, register link area, and flag area
For setting the top address of the master stations relay link, register link, and flag area, use the file
address(8) allocated throughout the memory area and set the number of sending bytes of the relay link
and register link area within the setting range shown below. Flag areas are allocated by 24 bytes from
each top address.
When a slave station is a JW-21MN and it is set to data link (the standard function), set the top address
and the number of sending bytes of the slave station's relay link and register link area within the setting
range shown below.
When a slave station is a JW-21MN and it is set to data link (the save memory function), the relay link
and register link area of the slave station are determined by the setting value of the JW-21MN module
No. switch (page 11-2) as shown below.
(1) When master station PC is JW20/JW20H
- When master and slave stations are
JW-21MN and set to data link (the
standard function) :
File
address(8)
000000
000377
000400
000677
000700
000777
001000
001577
001600
001777
002000
003777
004000
004777
005000
005777
006000
006777
007000
007777
010000
010777
011000
011777
I / O relay
Auxiliary relay
Latched relay
General
purpose
relay
Time limited contact
ponit of TMR/CNT
Current value of
TMR/CNT/MD
Register
Register
Register
Register
Register
Register
Byte
address
コ0000
コ0377
コ0400
コ0677
コ0700
コ0777
コ1000
コ1577
b0000
b1777
09000
09777
19000
19777
29000
29777
39000
39777
49000
49777
59000
59777
- When slave stations are JW-21MN
and set to data link (the save memory
function) :
- When master and slave stations are
JW-21MN and set to data link (the
standard function) :
File address
000000
001577
001600
001777
002000
003777
004000
007777
010000
015777
016000
025777
026000
027777
030000
035600
035777
(8)
Relay
Time limited contact
point of TMR/CNT
0000 to 0777
Current value of
TMR/CNT/MD
0000 to 0777
Register
Register
Register
Current value of
TMR/CNT
1000 to 1777
Relay
Time limited contact
point of TMR/CNT
1000 to 1777
Byte address
コ0000
コ1577
b0000
b1777
09000
39777
49000
99777
E0000
E7777
b2000
b3777
コ2000
コ7577035577
- When slave stations are JW-21MN and
set to data link (the save memory
function) :
File address
000000
001000
001477
001500
003777
004000
004777
005000
005777
006000
Flag area setting range
Relay link area setting range
Register link area setting range
006777
007000
007777
010000
010777
011000
015777
035777
(8)
Module No. 0
Module No. 1
Module No. 2
Module No. 3
Module No. 4
Module No. 0
Module No. 1
Module No. 2
Module No. 3
Module No. 4
Byte address
コ0000
コ1000
コ1100
コ1200
コ1300
コ1400
コ1500
09000
09777
19000
19777
29000
29777
39000
39777
49000
49777
59000
99777
Relay link area
Flag area setting range
Register link area setting range
000000
037777
000000
177777
000000
177777
000000
177777
000000
177777
000000
177777
File 1
File 2
File 3
File 10
File 14
File 2C
(H)
(H)
(H)
*1
*2
*3
*4
Flag area setting range
Register link area setting range
000000
037777
000000
177777
000000
177777
000000
177777
000000
177777
000000
177777
File 1
File 2
File 3
File 10
File 14
File 2C
(H)
(H)
(H)
*1
*2
*3
*4
*1: When JW-32CUH/H1 is used (JW-32CUH1: 000000 to 177777 or 000000 to 077777).
*2: When JW-33CUH/H1 is used.
*3: When JW-33CUH2 is used.
*4: When JW-33CUH3 is used.
11-12
Flag area setting range
[4] Setting procedure
Set parameters of the master station following the procedure below.
[ ] : See page in chapter 11
Start slave station PC operation
Turn ON the power of master station PC
Connect support tools
Stop PC operation
Stop operation of data link (007777(8)=00(H))
①
②
③
④
⑤
⑥
Set top address of relay link area on slave station 01 to 77(8) (at standard function)
Set top address of register link area on slave station 01 to 77(8) (at standard function)
Set top address of the relay link area on the master station
Set data link function (004002(8)=01(H))
Set number of connecting stations
/number of offset bytes (at save memory function)
Set top address of register link area on master stations
/number of off set bytes (save memory function)
[ 14 ]
[ 14 ]
[ 14 ]
[ 14 ]
[ 14 ]
[ 15 ]
[ 15 ]
[ 15 ]
[ 15 ]
[ 16 ]
[ 17 ]
⑦
⑧
⑨
⑩
⑪
V2
⑫
⑬
⑭
Whether the station number information should be output or not
① to ⑭ are equivalent to number of page 11-5, and 11-6.
Set number of sending bytes of the master station relay link
Set number of sending bytes of the slave station 01 to 77(8) relay link
Set number of sending bytes of the master station register link
Set number of sending bytes of the slave station 01 to 77(8) register link
Set connection status of slave stations
Set top address of flag area
Writing to EEPROM, start operation (007777(8) =81(H))
PC operation
End
[ 17 ]
11
[ 18 ]
[ 18 ]
[ 18 ]
[ 19 ]
[ 19 ]
[ 20 ]
[ 21 ]
[ 21 ]
11-13
Indications in [ ] of each item mean as follows:
(Example) Stop operation of data link [HEX (hexadecimal), byte]
This means to set "stop operation" by hexadecimal and byte unit.
"Run" the slave station PC
Turn "ON" the power of the master station PC and connect support tools
11
Connect a support tool with the JW-21MN.
(JW-14JG)
<Usable support tools>
JW-14PG/13PG/12PG
JW-50SP
JW-50PG, Z-100LP2S
- For operation of each support tool, see the instruction
manual attached. The following describes an example
of JW-14PG's key operation.
Note: Setting parameters is unavailable by JW-2PG.
Stop PC operation
Turn to program mode (stop PC operation). Setting of parameters is only available when the PC is
in program mode.
Stop PC operation
Select parameter setting mode.
JW-21MN
Select initial mode
(Set parameter)
Stop operation of data link [HEX (hexadecimal), byte]
Write "00(H)" to parameter address 007777(8) and stop operation
of the JW-21MN. Setting of the parameter is only available
when the operation of the JW-21MN is stopped.
Screen display of JW-14PG
07775 HEX 00
Display the contents of parameter
address 007777 by hexadecimals.
Reference
Function of JW-14PG
Write
()
00
.
(H)
07776 HEX 1F
I PARAM.
>07777 HEX 00
• key: Changeover unit of figures
→HEX
- key: Byte display Changeover word display
(hexadecimal)
←→
→OCT
(octal)
→ DCM
(decimal)
→Bit pattern
007777(8)
0 0(H)
To the next page
11-14
From the previous page
Set top address of the relay link area on the master station [OCT (octal), word]
Set file address(8) to parameter address 004000 to 004001(8).
- In case of setting コ0210 (file address 000210(8))
(Example for page 11-10)
Display the contents of address
004000
(8)
(Word display)
After converting to octal,
write the data 000210.
Data link function setting [HEX (hexadecimal), byte]
Set "01(H) (=001(8))" in parameter address 004002(8) and change to
"relay/register link" function.
Set number of connecting stations [DCM (decimal), byte]
Set the number of connecting stations (02 to 64(D)) including the master
station in the parameter address 004003(8) by octal.
- In case of setting in 3 sets (003(D)) (Example for page 11-10)
004000(8)
004001(8)
0 0 0 2 1 0 (8)
Screen display of JW-14PG
03774 0 000000
03776 0 000000
I PARAM.
>04000 0 000210
004002(8)
Screen display of JW-14PG
04000 HEX 880
04001 HEX 00F
I PARAM.
>04002 HEX 01
004003(8)
Screen display of JW-14PG
04001 DCM 000
04002 DCM 001
I PARAM.
>04003 DCM 003
0 1 (H)
0 0 3 (D)
11
Set top address of relay link area on slave station (01 to 77) (at standard function)/number of
offset bytes (at save memory function)
Set in parameter addresses 004004 to 004377(8). These top addresses should not overlap the
register link area, flag area, or any area used by other option module.
Slave
station
01
Slave
station
77(8)
004004
004005(8)
004006(8)
004007(8)
〜
004374(8)
004375(8)
004376(8)
004377(8)
(8)
Lower
Upper
00(H)
·
Lower
Upper
00(H)
·
In case of standard function, set top address by file address(8).
In case of save memory function, set number of offset bytes.
00(H): The top address is the same address of the master station
regardless of the value set at of 004004 to 004005
80(H): The top address is different from the address of the master
station (Offset is valid).
For the save memory function, set in 80(H).
00(H) 80(H)
- In case of setting コ0200 (file address 000200(8)) in parameter addresses 004004 to 004007(8) (slave
station 01) and set 4 (number of off set bytes) in 004010(8)to 004013(8)(slave station 02). (Example
for page 11-10.)
To the next page
(8).
11-15
From the previous page
(Word display)
Slave
station
01
Convert to hexa-
decimal figures
(Word display)
Slave
station
02
(Byte display)
Convert to
octal figures
Write 000200(8)in parameter addresses 004004 to 004005(8).
Write 000(8) (=00(H)) in parameter address 004006(8).
Write 80(H)(the top address is not same as the
master station) in parameter address 004007(8).
Write 00004(D)(offset 4) in parameter addresses
004010 to 004011(8).
Write 00(H) in parameter address 004012(8).
Write 80(H) (offset valid) in parameter address 004013(8).
11
Screen display of JW-14PG
04011 HEX 00
04012 HEX 00
I PARAM.
>04013 HEX 80
Slave
station
01
Slave
station
02
004004(8)
004005(8)
004006(8)
004007(8)
004010(8)
004011(8)
004012(8)
004013(8)
000200(8)
00(H)
80(H)
000004(D)
00(H)
80(H)
Set top address of register link area on the master station
Set on the parameter address (004400 to 004403(8))
in the file address(8). These top addresses should
not overlap the relay link area, flag area, or any area
used by other option modules.
004400(8)
004401(8)
004402(8)
004403(8)
Lower
Upper
File number
Unused (00(H))
File address(8)
- In case of setting コ0400 (file address 000400(8)) in parameter addresses 004400 to 004403(8) and
set 0 (file number) in 004402(8). (Example for page 11-10).
Display the contents of parameter addresses 004400 to 004401(8)
Screen display of JW-14PG
04400 OCT 000
04401 OCT 001
I PARAM.
>04402 OCT 000
To the next page
Write 000400(8)
Write 000(8) (=00(H)) in parameter address 004402(8).
004400(8)
004401(8)
004402(8)
004403(8)
000400(8)
00
(H)
Unused (00(H))
11-16
From the previous page
Set top address of register link area on slave station 01 to 77(8) (at standard function)/number
of offset bytes (at save memory function)
Set in parameter addresses 004404 to 004777(8). These top addresses should not overlap the
resister link area, flag area, or any area used by other option module.
Slave
station
01
Slave
station
77(8)
004404
004405(8)
004406(8)
004407(8)
〜
004774(8)
004775(8)
004776(8)
004777(8)
(8)
Lower
Upper
File number
·
〜
Lower
Upper
File number
·
In case of standard function, set top address by file address(8).
In case of save memory function, set number of offset bytes.
00(H): The top address is the same address of the master station
regardless of the values set at of 004404 to 004405
(8).
80(H): The top address is different from the address of the master
station (Offset is valid).
For the save memory function, set in 80(H).
00(H) 80(H)
- In case of setting 0 (the top address is コ0440, the same as the address of the master station) in
parameter addresses 004404 to 004407(8)(slave station 01) and the offset byte number 8 and
"offset valid" on the parameter address 004410 to 004413(8)(slave station 02). (Example for 11-10)
Slave
station
01
(Word display)
(Word display)
Write 0 in parameter 004004 to 004007(8) (same as
master station).
Write 00010(D)(offset 8) in parameter
Slave
station
02
(Word display)
(Byte display)
addresses 004410 to 004411(8).
Write 000(H) (file 0) in parameter address 004412(8).
Write 80(H) (offset valid) in parameter address 004413(8).
11
Screen display of JW-14PG
04011 HEX 00
04012 HEX 00
I PARAM.
>04013 HEX 80
Slave
station
01
Slave
station
02
004404(8)
004405(8)
004406(8)
004407(8)
004410(8)
004411(8)
004412(8)
004413(8)
0000(H)
00(H)
00(H)
00008(D)
00(H)
80(H)
Set the number of sending bytes of the master station relay link [DCM (decimal), word]
Set in parameter addresses 005000 to 005001(8).
005000(8)
005001(8)
Lower
Upper
These top addresses should not overlap the resister link area, or the flag area, or exceed the setting
range (0 to 256 bytes for each station, 256 bytes for all stations in total).
- In case of setting 8 bytes (Example for page 11-10)
Display the contents of parameter addresses 005000 to 005001(8)
Write 00008(D) after converting to decimal.
Screen display of JW-14PG
04774 D 00000
04776 D 00000
I PARAM.
>05000 D 00008
005000(8)
005001(8)
00008
(D)
To the next page
11-17
From the previous page
Set the number of sending bytes of the slave station (01 to 77) relay link [DCM (decimal), word]
Set the number of sending bytes in decimal on the parameter addresses 005002 to 005177(8). (set in
each station, 2 bytes for each station).
These top addresses should not overlap the resister link area, or the flag area, or exceed the setting
range (0 to 256 bytes for each station, 256 bytes for all stations in total).
Slave
station 01
Slave
station 77(8)
(8)
005002
005003(8)
to
005176(8)
005177(8)
(8)
Lower
Upper
to
Lower
Upper
Slave
station 01
005002(8)
005003(8)
- In case of setting 4 bytes for parameter addresses 005002
to 005003(8) (slave station 01 ), and set 8 bytes for
parameter addresses 005004 to 005005(8)(slave station
Slave
station 02
005004(8)
005005(8)
02). (Example for page 11-10)
Slave station 01
Slave station 02
Write 00004(D)in parameter
addresses 005002 to 005003(8).
Write 00008(D)in parameter
addresses 005004 to 005005(8).
Screen display of JW-14PG
05000 D 00008
05002 D 00004
I PARAM.
>05004 D 00008
Set the number of sending bytes of the master station register link [DCM (decimal), word]
Set the number of sending bytes in decimal on the parameter addresses 005200 to 005201(8).
These top addresses should not overlap the relay link area or the flag area, or exceed the setting
value (0 to 2048 bytes for each station, 2048 bytes for all stations in total).
005200(8)
005201(8)
Lower
Upper
- In case of setting 16 bytes for parameter addresses 005200 to 005201(8). (Example for page 11-10)
11
Write 00016(D)
Display the contents of parameter addresses 005200 to 005201(8)
Screen display of JW-14PG
05174 D 00000
05176 D 00000
I PARAM.
>05200 D 00016
005200(8)
005201(8)
00004(D)
00008(D)
00016(D)
Set the number of sending bytes of the slave station (01 to 77) register link [DCM (decimal), word]
Set the number of sending bytes in decimal on the parameter addresses 005202 to 005377(8). (set in
each station, 2 bytes for each station).
These top addresses should not overlap the relay link area, or the flag area, or exceed the setting
range (0 to 2048 bytes for each station, 2048 bytes for all stations in total).
Slave
station 01
Slave
station 77(8)
005202(8)
005203(8)
to
005376
005377(8)
(8)
- In case of setting 8 bytes for parameter addresses 005202
Lower
Upper
to
Lower
Upper
Slave
station 01
005202(8)
005203(8)
00008(D)
to 005203(8)(slave station 01), and set 8 bytes for
parameter addresses 005204 to 005205(8)(slave station
02). (Example for page 11-10)
Slave station 01
Write 00008(D) in parameter
addresses 005202 to 005203(8).
Slave station 02
Write 00008(D) in parameter
addresses 005204 to 005205(8).
Slave
station 02
005204(8)
005205(8)
Screen display of JW-14PG
05200 D 00016
05202 D 00008
I PARAM.
>05204 D 00008
00008(D)
To the next page
11-18
From the previous page
Set connection status of slave station [bit pattern, byte]
V2
Set "connected slave station as 01 and 02, output
error code" in paramenter address 007750(8).
007750
7 6 5 4 3 2 1 0
(8)
0 0 0 0 0 1 1 1
Display the contents of parameter address 007750(8)
Turn "ON" bit 0 (output error code)
Turn "ON" bits 1 and 2 (connects slave station 01 and
02)
Screen display of JW-14PG
07746□□□□□□□□
07747□□□□□□□□
I PARAM.
>07750□□□□□■■■
Set whether the station number information should be output or not
Set whether the station number information should be output or not on the parameter address
007763(8).
Whether the station
007763(8)
number information
should be output or not
00(H): Do not output
01(H): Output
The station number information is output on the next
byte of the flag area (24 bytes.)
This setting is valid when the parameter address is
007767(8) = 80(H).
11
To the next page
11-19
From the previous page
Set top address of flag area
File number/flag: HEX (hexadecimal), byte
Set the top address of the flag area (24 bytes) in order to monitor the communication condition and PC
operation condition on the parameter address 007764 to 007767(8).
Flag area uses 24 bytes regardless number of connecting stations.
File address: OCT (octal), word
007764(8)
007765(8)
007766(8)
007767(8)
Lower
Upper
File number
00(H): Do not output flag
(H): Output flag
80
- In case of setting コ 0740 (file address 000740(8)), "output flag" in parameter address 007764 to
007767(8). (Example for page 11-10)
(Word display)
Write "000740(8)" in parameter addresses 007764 to 007765(8).
Write 000(8) (=00(H)) in parameter address 007766(8).
(Byte display)
11
Covert to
hexadecimal
figures
Screen display of JW-14PG
07765 HEX 01
07766 HEX 00
I PARAM.
>07767 HEX 80
Write 80(H) in parameter address 007767(8).
007764
007765
007766
007767
(8)
(8)
(8)
(8)
000740
00
(H)
80
(H)
(8)
To the next page
11-20
From the previous page
Writing to the EEPROM of the JW-21MN, start operation [HEX (hexadecimal), byte]
Write "81(H)" into parameter address 007777(8)and write the set parameter contents into the EEPROM
of the JW-21MN. Then start the JW-21MN. After starting operation, the setting value changes to "01(H)."
Setting
value
(H)
0 0
0 1
007777(8)
8 0
8 1
0 8
Display the contents of address
007777(8)
Stop operation of the JW-21MN
Start operation of the JW-21MN
Writing to the EEPROM of the JW-21MN, stop operation
Writing to the EEPROM of the JW-21MN, start operation
Initialize setting values of parameter addresses
004000 to 007777
Write 81(H)
Contents
(8)
Screen display of JW-14PG
07775 HEX 01
07776 HEX 00
I PARAM.
>07777 HEX 80
- Writing time to EEPROM is approximately 0.7 sec. When any error is found for parameter settings, the
JW-21MN lights the error code (6F(H)) by the indication lamp. To recover from this condition, see
pages 16-2.
- Written contents into the EEPROM are automatically written to the RAM of the JW-21MN when turning
ON the power of the PC. At reading, the PC checks BCC and compares BCC check code of the
parameter memory address (007776(8)). When an error is found, the JW-21MN lights the error code
(6E(H)) by the indication lamp.
11
PC operation
Turning a master station PC to monitor or change mode (PC operation).
Monitor mode
Change mode
Screen display of JW-14PG
C00000
>
11-21
11-4 Setting slave station parameters (common for all slave stations)
When the JW-21MN is used as a slave station, set the following items for parameters.
[1] Setting contents
Corresponding
signs on pages
(H)
)
(H)
11-7 to 11-9
h
i
e
*1
*2
Setting item
Number of receiving bytes of
relay link in save memory
①
function
Number of receiving bytes of
register link in save memory
②
function
Whether the station number
③
information should be output
or not
Top address of flag area
(communication and PC
④
operation condition monitor
flag)
- Start/stop operation of the
JW-21MN
⑤
- Writing to EEPROM of the
JW-21MN
V2
V2
V2
Address
007720
007721
007722
007723
007763
007764
007765
007766
007767
007777
(8
)
Initial
value
00
00
00
E0
01
00
80
01
(H)
Set the number of bytes by decimals. (0 to 256)
- If 0 is set, the number of bytes will be the same
as the number of the sending bytes which is set
in the master station
Set the number of bytes by decimals. (0 to 2048)
- If 0 is set, the number of bytes will be the same
as the number of the sending bytes which is set
in the master station
Store the number of own statin in the data memory
when setting on 01
flag area of 24 bytes, valid when 007767
Lower of file address
Upper of file address
File number
Flag output (Yes: 80
00
(H)
: Stop operation
01
(H)
: Start operation
80
(H)
: Writing to the EEPROM, stop operation
81
(H)
: Writing to the EEPROM, start operation
Contents
(H)
.
(storage area of 1 byte follows
(8)
is 80
(H)
No: 00
Initial value: 01E0
000740
(H)
)
↓
(8)
(コ0740)
1
to
1
to
1
toen
hn
in
11
08
(H)
: Parameter initializing
*1: Set only when the memory capacity save function is used.
*2: "Whether the station number information should be output or not" is a unique function of the
JW-21MN.
- Parameter addresses other than above mentioned are reserved areas and prohibited to be
changed.
-When any slave stations are except JW-21MN, see the instruction manual of each device.
11-22
[2] Setting range of flag area
Flag areas are allocated by 24 bytes from each top address. For setting the top address of flag area,
use the file address(8) allocated throughout the memory area and set within the setting range shown
below.
•When PC is JW20/JW20H
File
address
000000
000377
000400
000677
000700
000777
001000
001577
001600
001777
002000
003777
004000
004777
005000
005777
015000
015777
(8)
I/O Relay
Auxiliary relay
Latched relay
General
purpose relay
Time limited
contact point of
TMR/CNT/MD
Current value
of
TMR/CNT/MD
Register
Register
Register
Byte
address
コ0000
コ0377
コ0400
コ0677
コ0700
コ0777
コ1000
コ1577
b0000
b1777
09000
09777
19000
19777
99000
99777
address
000000
001577
001600
001777
002000
003777
004000
Flag area setting range
007777
010000
015777
016000
025777
026000
027777
030000
035577
035600
035777
• When PC is JW30H
File
(8)
Relay
Time limited
contact point of
TMR/CNT
0000 to 0777
Current value of
TMR/CNT/MD
0000 to 0777
Register
Register
Register
Current value of
TMR/CNT/MD
1000 to 1777
Relay
Time limited
contact point of
TMR/CNT
1000 to 1777
address
コ0000
コ1577
b0000
b1777
09000
39777
49000
99777
E0000
E7777
b2000
b3777
コ2000
コ7577
Byte
Flag area setting range
11
000000
037777
000000
177777
000000
177777
000000
177777
000000
177777
000000
177777
File 1
File 2
File 3
File 10(H)
File 14(H)
File 2C(H)
*1
*2
*3
*4
Flag area setting range
*1: When JW-32CUH/H1 is used (JW-32CUH1:
000000 to 177777 or 000000 to 077777).
*2: When JW-33CUH/H1 is used.
*3: When JW-33CUH2 is used.
*4: When JW-33CUH3 is used.
Flag area setting range of data link (standard function) is same as data link (save memory function).
11-23
[3] Setting procedure
[ ] : See page in chapter 11
V2
①
V2
②
When not using
save memory function
③
Whether the station number information should be output or not
V2
④
⑤
① to ⑤ are equivalent to number of page 11- 22.
Turn "ON" the power of slave station PC
Connect support tools
Stop PC operation
Stop operation of data link (007777(8)=00(H))
Set number of receiving bytes of relay link in save memory function
Set number of receiving bytes of register link in save memory function
Set top address of flag area
Writing to EEPROM, start operation (007777(8) =81(H))
PC operation
End
[ 25 ]
[ 25 ]
[ 25 ]
[ 25 ]
[ 26 ]
[ 26 ]
[ 26 ]
[ 27 ]
[ 28 ]
[ 28 ]
11
11-24
Indications in [ ] of each item mean as follows:
(Example) Stop operation of data link [HEX (hexadecimal), byte]
This means to set "stop operation" by hexadecimal and byte unit.
Turn "ON" the power of slave station PC
Connect support tools
(JW-14JG)
Connect a support tool with the JW-21MN.
<Usable support tools>
JW-14PG/13PG/12PG
JW-50SP
JW-50PG, Z-100LP2S
JW-21MN
- For operation of each support tool, see the instruction
manual attached. The following describes an example
of JW-14PG's key operation.
Note: Setting parameters is unavailable by JW-2PG.
Stop PC operation
Turn to program mode (stop PC operation). Setting of parameters is only available when the PC is
in program mode.
Stop PC operation
Select parameter setting mode.
11
Select initial mode
(Set parameter)
Stop operation of data link [HEX (hexadecimal), byte]
Write "00(H)" to parameter address 007777(8) and stop operation
of the JW-21MN. Setting of the parameter is only available
when the operation of the JW-21MN is stopped.
Screen display of JW-14PG
Display the contents of parameter
address 007777 by hexadecimals.
Reference
Function of JW-14PG
(
Write
00
(H).
)
07775 HEX 00
07776 HEX 1F
I PARAM.
>07777 HEX 00
- key: Changeover unit of figures
HEX(hexadecimal)
→
- key: Byte display Changeover word display
←→
OCT (octal)
→
DCM(decimal)
→
007777(8)
Bit pattern
→
0 0(H)
To the next page
11-25
From the previous page
"Only when using save memory function"
V2
Set the number of sending bytes of the relay link in save memory function [DCM (decimal), word]
Set the number of sending bytes in decimal on the parameter address 007720 to 007721(8).
11
007200(8)
007721(8)
Lower
Upper
- In case of setting 4 bytes (Example for page 11-10)
Display the contents of parameter addresses 007720 to
007721(8)
Write 00004(D) after converting to decimal
Screen display of JW-14PG
07714 D 00000
V2
07716 D 00000
I PARAM.
>07720 D 00004
"Only when using save memory function"
Set the number of receiving bytes of register link in save memory function [DCM (decimal), word]
007720(8)
007721(8)
00004(D)
Set the number of sending bytes in decimal on the parameter address 007722 to 007723(8).
(8)
007722
007723(8)
Lower
Upper
- In case of setting 8 bytes for parameter addresses 007722 to 007723(8). (Example for page 11-10)
Display the contents of parameter addresses 007722 to
007723(8)
Write 00008(D)
Screen display of JW-14PG
07716 D 00000
07720 D 00000
I PARAM.
>07722 D 00008
007722(8)
007723(8)
00008(D)
V2
Set whether the station number information should be output or not
Set whether the station number information should be output or not on the parameter address
007763(8).
Whether the station
007763(8)
number information
should be output or not
00(H): Do not output
01(H): Output
The station number information is output on the next
byte of the flag area (24 bytes.)
This setting is valid when the parameter address is
007767(8) = 80(H).
To the next page
11-26
From the previous page
Set top address of flag area
File number/flag: HEX (hexadecimal), byte
Set the top address of the flag area (24 bytes) in order to monitor the communication condition and PC
operation condition on the parameter address 007764 to 007767(8).
Flag area uses 24 bytes regardless number of connecting stations.
File address: OCT (octal), word
007764
007765
007766
007767
(8)
(8)
(8)
(8)
Lower
Upper
File number
00
(H)
: Do not output flag
(H)
: Output flag
80
- In case of setting コ 0740 (file address 000740(8)), "output flag" in parameter address 007764 to 007767(8).
(Slave station 01 of page 11-10)
(Word display)
Write "000740(8)" in parameter addresses 007764 to 007765(8).
Write 000(8) (=00(H)) in parameter address 007766(8).
Covert to
hexadecimal
figures
Screen display of JW-14PG
07765 HEX 01
07766 HEX 00
I PARAM.
>07767 HEX 80
Write 80(H) in parameter address 007767(8).
007764
007765
007766
007767
(8)
(8)
(8)
(8)
000740
00
80
(8)
(H)
(H)
11
To next page
11-27
From the previous page
Writing to the EEPROM of the JW-21MN, start operation [HEX (hexadecimal), byte]
11
Write "81
(H)" into parameter address 007777(8) and write the set parameter contents into the EEPROM
of the JW-21MN. Then start the JW-21MN. After starting operation, the setting value changes to "01(H)."
Setting
(H)
value
0 0
0 1
007777(8)
8 0
8 1
0 8
Display the contents of address
007777(8)
Stop operation of the JW-21MN
Start operation of the JW-21MN
Writing to the EEPROM of the JW-21MN, stop operation
Writing to the EEPROM of the JW-21MN, start operation
Initialize setting values of parameter addresses
004000 to 007777
Write 81(H)
Contents
(8)
Screen display of JW-14PG
07775 HEX 00
07776 HEX 36
I PARAM.
>07777 HEX 81
- Writing time to EEPROM is approximately 0.7 sec. When any error is found for parameter settings, the
JW-21MN lights the error code (6F(H)) by the indication lamp. To recover from this condition, see
pages 16-2.
- Written contents into the EEPROM are automatically written to the RAM of the JW-21MN when turning
ON the power of the PC. At reading, the PC checks BCC and compares BCC check code of the
parameter memory address (007776(8)). When an error is found, the JW-21MN lights the error code
(6E(H)) by the indication lamp.
PC operation
Turning a slave station PC to monitor or change mode (PC operation).
Monitor mode
Change mode
Screen display of JW-14PG
C00000
>
11-28
Chapter 12: Errors and Countermeasures
The operating condition of the JW-21MN can be monitored using its indication lamps, flags, and the
system memory of a PC.
12-1 Indication lamps
LED
name
Lights during data link operation
CM
Lights while sending data
SD
Lights while receiving data
RD
Lights when detecting carrier
CD
Lights when turning “ON” the termination resistance
LT
Lights during testing (TEST)
T
COM.E
Lights at a communication error
(COM. E)
UNT.E
Lights at time up of the watchdog timer
LED "1" to "80" indicate error codes when an error occurs. Error codes, their
causes, and measures are as shown in the table below.
LED name
4
8
10
20
40
80
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
●
●
○
○
○
○
○
○
○
○
○
○
○
○
○
○
●
●
●
●
●
○
○
○
○
○
○
○
○
○
●
○
○
○
○
○
○
●
○
○
○
●
○
●
○
●
●
●
○
●
○
○
●
○
○
○
●
○
○
○
●
○
○
○
●
○
○
●
●
○
○
●
●
○
○
○
●
●
○
○
●
○
●
●
●
○
●
●
●
○
○
○
○
○
toto
●
●
●
●
○
●
●
○
○
●
○
●
○
○
●
●
●
●
○
○
●
●
○
●
2
Details
1
●
○
●
○
●
○
○
●
○
●
○
●
○
●
○
○
○
●
●
●
Measure
- Check disconnection of the communication
cable
- Check the set contents of switches
- Cheek the set contents of parameters
- Check the power voltage of PC
Replace the JW-21MN
Error
code
(DEC)
01
ROM error, upper CPU
02
RAM error, upper CPU
03
2 port RAM error against PC, upper CPU
04
2 port RAM error against communication CPU, upper CPU
11
ROM error, communication CPU
12
RAM error, communication CPU
18
Communication LSI error, communication CPU
1F
No response, communication CPU
20
More than one token detected
21
Doubled address detected
22
Fault of sending section
23
Token does not return within the rated interval
2A
Over flow of receiving buffer.
2B
Flame length error
30
EEPROM error
*60
Switch setting error
*6E
BCC error
6F
Parameter setting error
*
C1
Communication error
- After converting into octal, the lower two digits
represent the slave station number of the current
*
FF
error. (Ex. C1(H) = 301(8) = slave station 01)
Cause
ME-NET
COMMSDRDCDLTTCOM.E
80 40 20 10 8 4 2 1
Measure
Replace the JW-21MN
- Check the communication
cable
-Check for doubled allocation
of station number
- Replace the JW-21MN
Check the parameter setting
Replace the JW-21MN
Check the communication cable
Check the communication cable
Replace the JW-21MN
Check the switch setting
Check the parameter setting
Check the communication cable
and slave module
UNT.E
12
● : ON, ○ : OFF
* Error code 60(H), 6E(H), C1 to FF(H) are special error codes unique to the JW-21MN.
Other codes are error codes specified by the ME-NET.
Prior to displaying the error code C1 to FF(H), the setting of the parameter addresses
007750 to 007757(8) is required. (See page 16-12.)
12-1
12-2 Flag
①
通信監視
②
運転状態
③
運転状態
Flag area is 24 bytes from the "flag top address" set in the master station/slave station parameters.
[1] Flag table [ In case of flag top address is コ 0740 (initial value) ]
12
コ0740
コ0741
コ0742
コ0743
コ0744
コ0745
コ0746
コ0747
コ0750
コ0751
コ0752
コ0753
コ0754
コ0755
コ0756
コ0757
コ0760
コ0761
コ0762
コ0763
コ0764
コ0765
コ0766
コ0767
Slave station 01(8)
子局01
76543210
07 06 05 04 03 02 01 00
17 16 15 14 13 12 11 10
27 26 25 24 23 22 21 20
37 36 35 34 33 32 31 30
47 46 45 44 43 42 41 40
57 56 55 54 53 52 51 50
67 66 65 64 63 62 61 60
77 76 75 74 73 72 71 70
07 06 05 04 03 02 01 00
17 16 15 14 13 12 11 10
27 26 25 24 23 22 21 20
37 36 35 34 33 32 31 30
47 46 45 44 43 42 41 40
57 56 55 54 53 52 51 50
67 66 65 64 63 62 61 60
77 76 75 74 73 72 71 70
07 06 05 04 03 02 01 00
17 16 15 14 13 12 11 10
27 26 25 24 23 22 21 20
37 36 35 34 33 32 31 30
47 46 45 44 43 42 41 40
57 56 55 54 53 52 51 50
67 66 65 64 63 62 61 60
77 76 75 74 73 72 71 70
(8)
親局
Master station
Communication monitor flag
①
子局70
Slave station 70(8)
親局
Master station
子局01
Slave station 01(8)
Operation condition
②
監視フラグ〔1〕
monitor flag [1]
Slave station 70(8)
子局70
親局
Master station
Slave station 01(8)
子局01
Operation condition
③
監視フラグ〔2〕
monitor flag [2]
フラグ
(8)
(8)
(8)
(8)
Remark
- Even a slave station can monitor 24 bytes of flag.
12-2
Slave station 70(8)
子局70(8)
[2] In the case of a master station
(1) Communication monitor flag
This flag is used to monitor the communication condition with other stations. Non-connected station
keeps this flag as "OFF."
Flag
Own
station
flag
(master
station)
Flag
Other
station’s
flag
(01 to 77)
Condition for flag operation
When the parameter address 007777
and the master station is operating normally.
When the parameter address 007777(8) of the master station is set to "00(H)."
Improper setting of parameter, BCC check error, or other errors.
Condition for flag operation
Normal communication with slave stations.
Stopped communication or unable to
communicate with slave stations.
Communication monitor flag (1) of the master
station is turned "OFF."
(8) of the master station is set to "01(H),"
Flag operation
ON
OFF
Specific
slave
station
All slave stations
Flag operation
ON
OFF
The master station periodically executes communication recovery operation with the communication
error slave station. When the error situation is recovered, the master station returns to normal
communication.
(2) Operation condition monitor flag [1]
This flag is used to monitor the operation condition of slave stations when the communication with
each slave station is normal.
Non-connected station keeps this flag as "OFF."
Flag
Own
station flag
(master
station)
Condition for flag operation
Communication monitor flag (1) of the master station is turned "ON."
Communication monitor flag (1) of the master station is turned "OFF."
Flag operation
*ON
OFF
Flag
Other
station’s
flag
(01 to 77)
Condition for flag operation
Slave station is operating.
Slave station stops operation (not by an error cause).
Communication monitor flag (1) of the master
station is turned "OFF."
Slave station that communication monitor flag (1)
is turned to "OFF."
Flag operation
ON
OFF
Specific
slave
station
All slave stations
Not specified
* Even if a master station PC has stopped operation normally or by an error, the JW-21MN turns
"ON" this flag while communicating.
(3) Operation condition monitor flag [2]
This flag is used to monitor the abnormal stop of each slave station when the communication with
each slave station is normal.
Non-connected station keeps this flag as "OFF."
Flag
Own
station flag
(master
station)
Flag
Other
station’s
flag
(01 to 77)
Condition for flag operation
Communication monitor flag (1) of the master station is turned "ON."
Communication monitor flag (1) of the master station is turned "OFF."
Condition for flag operation
Each slave station is normal.
Any of the slave stations is faulty (caused to be
stopped abnormally).
Communication monitor flag (1) of the master station
is turned "OFF."
Slave station that communication monitor flag (1) is
turned to "OFF."
Flag operation
*ON
OFF
Flag operation
Specific
ON
slave
station
OFF
All slave
stations
Not specified
* Even if a master station PC has stopped operation normally or by an error, the JW-21MN turns
"ON" this flag while communicating.
12
12-3
[3] In the case of slave station 01 to 77(8)
(1) Communication monitor flag
This flag is used to monitor the communication condition with other stations. Non-connected station
keeps this flag as "OFF."
Flag
Own
station
flag
Flag
Other
station’s
flag
Condition for flag operation
When the parameter address 007777(8) of each slave station is set to
"01(H)," and at communicating with a master station normally.
When the parameter address 007777
When link start switch "00
Normal communication with each station.
Stopped communication or unable to
communication with each station.
Communication monitor flag (1) of the master
station is turned "OFF."
(H)" of the master station is OFF.
(8) of each slave station is "00(H)."
Flag operationCondition for flag operation
ON
Specific
OFF
station
All stations
Flag operation
ON
OFF
(2) Operation condition monitor flag [1]
This flag is used to monitor the operation condition of each station when the communication with
each station is normal.
Non-connected station keeps this flag as "OFF."
Flag
Own
station
flag
Flag
Other
station’s
flag
Condition for flag operation
Communication monitor flag (1) of the own station is turned "ON."
Communication monitor flag (1) of the own station is turned "OFF."
Condition for flag operation
Each station is operating.
Each station stops operation (not by an error cause).
Communication monitor flag (1) of the own station
is turned "OFF."
Slave station that communication monitor flag (1)
is turned to "OFF."
Flag operation
*ON
OFF
Flag operation
ON
Specific
station
OFF
All slave
stations
Not specified
12
* Even if the own station PC has stopped operation normally or by an error, the JW-21MN turns
"ON" this flag while communicating.
(3) Operation condition monitor flag [2]
This flag is used to monitor the abnormal stop of each station when the
communication with each station is normal.
Non-connected station keeps this flag as "OFF."
Flag
Own
station
flag
Flag
Other
station’s
flag
Communication monitor flag (1) of the own station is turned "ON."
Communication monitor flag (1) of the own station is turned "OFF."
Each station is normal.
Any of the stations is faulty (caused to be stopped
abnormally).
Communication monitor flag (1) of the own station
is turned "OFF."
Slave station that communication monitor flag (1) is
turned to "OFF."
Condition for flag operation
Condition for flag operation
Flag operation
*ON
OFF
Flag operation
ON
Specific
OFF
station
All stations
Not specified
*Even if a own station PC has stopped operation normally or by an error, the JW-21MN turns "ON"
this flag while communicating.
12-4
[4] Monitor operation condition by each station PC
07 06 05 04 03 02 01 00
77 76 75 74 73 72 71 70
to to to to to to to to
07 06 05 04 03 02 01 00
77 76 75 74 73 72 71 70
to to to to to to to to
07 06 05 04 03 02 01 00
77 76 75 74 73 72 71 70
to to to to to to to to
Slave station 01
Slave station 01
Slave station 01
Communication monitor
Operation condition (1) Operarion condition (2)
0 7 4 0 1
0 7 5 0 1
0 7 6 0 1
Slave station 01
normal operation
0 7 4 0
0 7 4 7
0 7 5 0
0 7 5 7
0 7 6 0
0 7 6 7
to
to
to
コ
コ
コ
コ
コ
コ
(1) Communication monitor flag
Slave station 70
(8)
(2) Operation condition monitor flag [1]
(3) Operation condition monitor flag [2]
Master station
Flag top address
7 6 5 4 3 2 1 0
By creating a program having the flags shown below in each station's PC, the JW-21MN can monitor
the operation condition of each station’s PC.
[Ex.: In this case the flag top address is 0740]
12
12-5
12-3 Storage of error code
When an error occurs in the JW-21MN, it stores the occurred error’s code to system memory #160,
#170 and error history storage register of each station's PC.
Error
code
(HEX)
01ROM error, upper CPU
02RAM error, upper CPU
2 port RAM error against PC, upper CPU
03
042 port RAM error against
communication CPU, upper CPU
11ROM error, communication CPU
12RAM error, communication CPU
18
Communication LSI error, communication CPU
1FNo response
20More than one token detected
21Doubled address detected
22Fault of sending section
represent the slave station number of the current
error. (Ex. C1(H) = 301(8)= slave station 01)
FF
Cause
Error code stored to system memory
#160
#170
Replace the JW-21MN
53(H)
- Check the communication
cable
- Check for doubled allocation
of station number
1F (H)
20 (H)
- Replace the JW-21MN
Check the parameter setting
21 (H)
22 (H)
23 (H)
Replace the JW-21MN
Check the communication cable
2A (H)
2B (H)
30 (H)
60 (H)
6E (H)
Check the communication cable
Replace the JW-21MN
Check the switch setting
Check the parameter setting
6F (H)
C1 (H)
to
Check the communication cable
and slave module
FF (H)
Measure
12
- In some cases, error code 23(H) or 2A(H) is stored when inputting power. This is not an error.
- Error code 60(H), 6E(H), C1 to FF(H) are special error codes unique to the JW-21MN.
12-6
(1) System memory #170 to 177 (option module error code)
The error code stored in the system memory #170 is shifted to #170 to #177 one after the other as
new errors occur. Thus, the system memory can store up to 8 errors. When the PC is operating by
RAM, these error codes do not disappear even after turning OFF the power.
The contents of system memory #170 to #177 are kept storing after the JW-21MN recovers from the
error.
#177#176 #175#174 #173 #172 #171 #170
6E
Occurrence of BCC error
Disappear
6E6F
Occurrence of parameter
setting error
(2) System memory #160 to 167 (self diagnosis error code)
When any of errors "01(H)" to "18(H)" occurs among the error codes listed on the previous page, the
JW-21MN stores error code "53(H)" (optional error) in the system memory #160. It does not store any
error code in system memory #170.
(3) System memory #150 (monitor error switch number)
When you monitor the system memory #050 at the occurrence of error code "53(H)," you can check
the module No. switch setting value of the error causing option module with a bit pattern. (At normal:
OFF, at error: ON)
76543210
#050
Module No. switch
setting value
6543210
[Ex.] In the case below, an option module having the module No. switch setting value as "2" is an
error.
7654321 0
#050
00100000
12
12-7
(4) Error history
When the JW-21MN has errors, it stores them in an error history register. The storage area is
specified using the module No. switch setting value.
Module No. switch
setting value
Error history storage register
JW20/JW20HJW30H *1
0E1400 to E1577E7400 to E7577
1E1200 to E1377E7200 to E7377
2E1000 to E1177E7000 to E7177
3E0600 to E0777E6600 to E6777
4E0400 to E0577E6400 to E6577
5*2
6*2
7to9
E0200 to E0377E6200 to E6377
E0000 to E0177E6000 to E6177
Prohibited setting
*1: When the JW30H is used,
system memory should be set
to #210 = 002(8).
*2: Setting the module No. switch
to "5" or "6" is only valid when
the model switch on the JW21MN is set to "2."
The storage area for the error history (128 bytes) is divided into 8 sections (16 bytes each). The
JW-21MN stores up to 8 errors, in the order they occurred. If a ninth error occurs, the oldest error
data will be deleted.
used for the control module of a
JW20/20H/30H, ignore data from bytes 1
to 7.
(Since the JW-21CU/31CUH/31CUH1 do
not have a clock function, they cannot
store this data correctly.)
n+6 (E1206)Day of week
n+7 (E1207)Error code
JW-21MN
error code
- Stores the error code (value of #170).
- See page 12-6.
n+8 (E1210)
n+9 (E1211)
- When the same error occurs, the JW21MN will count up to 377
n+10 (E1212)
Number of errors
that have occurred
000 to 377
400
(8)
377
occurred is the date and time the error
occurred for the first time.)
n+11 (E1213)
to
n+15 (E1217)
*4: When the top address is "E1200."
Remarks
(8)
. From error
(8)
, the number of errors will stay at
(8)
. (The date and time the error
12-8
Chapter 13: Replacement of the JW-21MN
When you want to change the JW-21MN due to an operation fault (lighting UNT.E lamp) etc., follow the
procedures below.
Make sure to store the set parameters onto a floppy diskette using a support tools. (See
the next page)
Operation procedure
Start
Turn "OFF" the JW20/JW20H/JW30H's power
Remove the cables from the JW-21MN
Loosen one retention screw and
Remove the JW-21MN from the rack panel
take out from the rack panel.
Set the switches of the new JW-21MN
Install the new JW-21MN
Connect the cables to the new JW-21MN
Turn "ON" the JW20/JW20H/JW30H’s power
Load the parameters.
End
(See chapter 11)
(See page 5-1)
13
Load the parameters stored in the
floppy diskette into the new JW-21MN
and write in the EEPROM, then start
operation. For details, see chapter 14.
13-1
Chapter 14: Support Tools
The following support tools are available to record (store), and load the contents of the parameter
memory.
(Make sure to save the set parameters onto a floppy diskette.)
Record and load by ladder software (JW-92SP, JW-50SP)
<Record>
(1) Stop operation of the JW-21MN
Select "PC TRANS."
Select "Read."
Applicable floppy diskettes
Select "DL. M. stn. PARAM." or "DL. S. stn.
PARAM."
When the connected JW-21MN is master station, select "DL.
M. stn. PARAM." When the connected JW-21MN is slave
station, select "DL. S. stn. PARAM."
After selecting "PC stop," press the "Enter"
key.
(2) Record onto the personal computer
After stopping operation, record the parameters of the JW-21MN onto the memory of the personal computer.
Select "Read out PARAM" and press the "Enter" key.
Start reading to memory of the personal computer.
(3) Start operation of the JW-21MN
After recording the parameters onto the personal computer, start operation of the JW-21MN.
Select "Start operation."
Start operation of the JW-21MN
(4) Record onto a floppy diskette
Write (record) the memory contents of the personal computer onto a floppy diskette.
Select "FD TRANS."
JW-50SP
JW-21MN
Connection cable
JW-22KC/24KC
14
Select "Save."
Select "DL. M. PARAM." or "DL. S. PARAM."
When the memory contents of the personal computer are for a master station, select
"DL. M. PARAM." When the memory contents of the personal computer are for a
slave station, select "DL. S. PARAM."
Input a file name to record.
Input comments.
Press the "Enter" key.
Start recording onto the floppy diskette.
14-1
<Load>
(1) Load to the personal computer
Load the contents of the floppy diskette into the memory of the personal computer.
Select "FD TRANS."
Select "Load."
Select a file name.
14
Press the "Enter" key.
Start loading into the personal computer.
(2)Stop operation of the JW-21MN
After stopping operation, load the memory contents of the personal computer into the JW-21MN.
Select "PC TRANS."
Select "Write."
Select "DL M. stn. PARAM." or "DL S. stn.
PARAM."
When the connected JW-21MN is a master station, select "DL M. stn.
PARAM." When the connected JW-21MN is a slave station, select "DL S. stn.
PARAM."
After selecting "PC stop," press the "Operation
stops" key.
(3)Load to the JW-21MN
After stopping operation, load the memory contents of the personal computer into the JW21MN.
After selecting "Parameter writing," press
the "Enter" key.
JW-50SP
JW-21MN
Start loading into the JW-21MN.
(4)Start operation of the JW-21MN
After loading the parameters from the personal computer, start operation of the JW-21MN.
After selecting "Start: write EEPROM" or
"Execution start," press the "Enter" key.
Start operation of the JW-21MN
14-2
Chapter 15: Specifications
15-1 General specifications
ItemSpecification
New satellite JW20/JW20H (JW-21CU/22CU)
Applicable PC
Installing slot
Storage temperature
Ambient temperature
Ambient humidity
Vibration resistance
Shock resistance
Internal power consumption
Weight
Accessory
15-2 Communication specifications
ItemSpecification
New satellite JW30H (JW-31CUH/32CUH/33CUH,
JW-31CUH1/32CUH1/33CUH1/33CUH2/33CUH3)
Basic rack panel of JW20/JW20H/JW30H
−20 to +70℃
0 to +55℃
35 to 90%RH (without condensation)
JIS-C-0911 equivalent (X, Y, Z, 2 hours each)
JIS-C-0912 equivalent
Approx. 360 mA
Approx. 285 g
One instruction manual
Communication method
Transmission rate
Transmission format
Coding method
Check method
Sync method
Modulation method
Communication
network system
Connectors
Transmission line
Token/passing
1.25M bits/s
JIS X-5014 high level data link control procedure
Compatible to (HDLC) frame configuration
NRZI (Non Return To Zero Inverted)
CRC
Bit synchronous
Continuous frequency phase modulation (FSK)
Bus type
Module side: BNC receptacle (jack)
Line side: BNC plug
Coaxial cable: 5C-2V JIS · C-3501
Characteristic impedance: 75 ohm
Total cable distance: 1km max.
15
15-1
15-3 Data link specifications
Both standard function and save memory function are available. Select by the mode switch on the
JW-21MN.
(1) Standard function
Item
Amount of
connectable stations
Link area
Relay
link
Register
link
Flag area
Total number of links
Transmit points per
station
Communication mode
(2) Save memory function
Specifications
64 stations max.
JW20/JW20HJW30H
コ0000 to コ1577
09000 to 39777
コ0000 to コ1577
09000 to 99777
Set to the parameters of the JW-21MN, (Initial value: コ740)
Relay link : 2048 points max.
Register link: 2048 bytes max.
Max. 1024 bytes including relay link and register link
N: M communication
コ0000 to コ1577, コ2000 to コ7577
b0000 to b1777, b2000 to b3777
09000 to 99777, E0000 to E7777
File 1, 2 (When JW-32CUH1/33CUH1/33CUH2/33CUH3 is used)
File 3 (When JW-33CUH1/33CUH2/33CUH3 is used)
File 10 to 14 (When JW-33CUH2/33CUH3 is used)
File 15 to 2C (When JW-33CUH3 is used)
15
Item
Amount of connectable
stations
Link area
Flag area
Total number of links
Sending points per
station
Communication mode
Specifications
64 stations max.
Relay link: コ1000 to コ1477
(Select by the module No. switch)
Register link : 09000 to 49777
(Select by the module No. switch)
Set to the parameters of the JW-21MN
(Initial value: コ740)
Relay link : 2048 points max.
Register link: 2048 bytes max.
Relay link : 256 points max.
Register link: 256 bytes max.
N: M communication
15-2
15-4 Computer link specifications
Item
Link station
Communication data
64 stations max.
Maximum 1024 bytes per command
size
Communication
According to the host computer command
control
Data memory read/write
Program memory read/write
Control functions
PC control
Extension function by optional command
[Outside dimensional drawings]
8
7
9
6
0
5
1
4
2
3
8
8
7
7
9
9
6
6
0
0
5
5
1
1
4
4
2
2
3
3
130
Specifications
(Unit: mm)
Basic rack
panel
110
35120
15
15-3
Chapter 16: Appendix
( ) ( ) ( ) ( ) ( )
16-1 Maintenance and check
Check wiring, installation, and switch settings.
System configuration
Check item
Not parallel with or proximate to high voltage lines
or strong power lines.
Branch lines (drop cable) are within 400 mm.
Total length is less than 1 km.
No damage or breaks in cables.
Connectors are securely assembled.
Communication cable
Connectors are securely connected and locked.
Insulation covers are put on connectors.
Securely tighten the module retention screws.
A ground line is connected with the GND terminal.
Power supply
module
Securely tighten the module retention screws.
Memory module is appropriately installed.
Control
module
Securely tighten the module retention screws.
No other cables than the communication cable and
DC input cables are input in the same duct.
I/O module
Basic rack panel is appropriately installed.
Securely tighten the module retention screws.
Mode switches are appropriately set.
Station number switches are appropriately set (00 to 77
Termination resistance switches are appropriately set.
JW-21MN
Shield ground switches are appropriately set.
Parameters are appropriately set.
(8)
).
ON
16
16-1
16-2 Recovery method at communication errors
(1) Check flow chart
Occurrence of error
Connection status of
cable/connector are normal.
YES
First communication?
NO
Does the error occur
continuously?
YES
NO
YES
NO
See "Check cable/connector"
on next page.
See "During initial communication" on page 16-5.
See "When the communication
error occurs instantaneously "
on page 16-7.
16
See "When the communication error
occurs continuously" on page 16- 7.
Recovery
NO
YES
Normal operation
16-2
(2) Check cable/connector
As errors on the junction from the main cable to the drop cable or the contact failure on the
connecting point of each station or errors of the master module are assumed, check with the
following procedure.
YES
UNT. E lamp turns ON
NO
Exchange master module
Monitor individual communication flag
in support tool.
Error only 1 station
NO
At plural station error
See next page
See page 12-2
Check and exchange the bus
cable and branch cable to
YES
the station with the error or the
station error module where
the error occurred.
16-3
16
- If the bus cable between the slave station 05
03
(8)
02
(8)
01
(8)
04
Master
(8)
station
B
AC
State of an individual communication flag
7
65
D
D
0
1234
(8)
and 06
05
(8)
(8)
Disconnection
is disconnected in the following system.
07
06
(8)
(8)
D
OFF
Unstable
OFF
Remove the connector on point
A, and turn ON the termination
resistance of the master station.
Connect the A connector, and
then remove the connector on
point B.
Remove the connector on point
C and make sure the B
connector is not connected.
Turn ON the termination
resistance of the slave module
05
(8)
.
As the communication possible stations
(8)
, 02
(8)
, 01
(8)
03
, and 04
(8)
are normal, the
state of communication monitoring flag is
as follows.
D
7
OFF
65
ON
D
0
1234
As the one side of the termination
resistance is lost, all of the
communication possible stations 05
(8)
, and 07
06
station 05
D
7
65
OFF
Unstable
(8)
are abnormal, and the
(8)
is unstable.
D
0
1234
OFFON
(8)
,
As the communication possible station
05
(8)
is normal, abnormal points exists
ahead of the point C.
7
D
OFF
OFFONON
D
065
1234
16
Connect the C connector and
make sure the B connector is
not connected, and remove the
connector at the next point to
the point D.
Turn OFF the termination
resistance of the slave station
05
(8)
, and turn ON the
As the one side of the termination
resistance is lost, the station 05
06
stations, but the station 05
and the station 06
the abnormal states occur between the
point C and the point D.
D
termination resistance of the
end station 06
(8)
.
OFFOFFON
Cause
Disconnection in the bus cable and the
branch cable between the station 05
(8)
, or contact failure of the connectors
06
Error on the slave station 06
(8)
(8)
(8)
become communication possible
(8)
is unstable
(8)
is turned to OFF, so
7
D
0651234
Unstable
Countermeasure
Remove both the bus cable and
and
the branch cable connectors. After
that, shorten one of these
connectors and check conductivity
using a tester.
Exchange the slave module.
16-4
(8)
and
(3) During initial communication (startup of the system)
Lighting error code 6F(H)
- When the master station indicates error code 6F(H) and the COMM lamp is OFF.
The cause may be a parameter setting error of the master station. Check the master station
parameters below.
Parameter address(8)
004000 to 004001
004002
004400 to 004403
005000 to 050001
005200 to 005201
Setting item
Relay link top address
of master station
Amount of connectable
stations
Register link top address
of master station
Relay link transmit
bytes of master station
Register link transmit
bytes of master station
Reference page of the
setting contents
11-5 to 9
007764 to 007767
Flag top address
- When the master station indicates error code 6F(H) and the COMM lamp lights.
The cause may be a setting error of any of the slave stations which are set in the parameter.
Check the following master station parameters.
Parameter address(8)
004004 to 004377
004404 to 004777
005002 to 005177
005202 to 005377
Setting item
Relay link top address of
each slave station.
Number of offset bytes.
Register link top address
of each slave station.
Number of offset bytes.
Relay link transmit bytes
of each slave station
Register link transmit
bytes of each slave station
Reference page of the
setting contents
11-5 to 9
When slave station is JW-21MN, see "Chapter 11: Setting of Switches and Parameter" for
setting range.
- When the master station is normal and the error code 6F(H) of a slave station lights.
The cause may be a faulty setting of the slave station parameter. Check the following slave
station parameters.
Reference page of the
11- 22
007764 to 007767
Setting itemParameter address(8)
Flag top address
16
When slave station is JW-21MN, see "Chapter 11: Setting of Switches and Parameter" for
setting range.
16-5
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.