FEH380a All

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

Create Tomorrow with

Trustworthy Technology

FUJI UG30/20 SERIES PROGRAMMABLE OPERATION DISPLAY

USER’S MANUAL
<UG30/20 SERIES PLC Connection>
TYPE: UGx30H-x
UGx20H-x

FEH380a
Preface

Thank you for selecting the POD UG Series.


For correct set-up of the UG Series, you are requested to read through this manual to understand more about the
product.
For more information about the UG Series, refer to the following related manuals.

Name Manual No. Contents


UG Series <Operation> FEH375 Describes operating procedures of the screen editor
(UG00S-CW) for the UG Series.
UG Series <Function> FEH376 Describes the functions available with the UG30/20
Series.
UG Series <Supplementary Manual> FEH376-1 Describes the supplementary information for the UG
Series <Function> (FEH376)
UG30 Series <Hardware> FEH377 Describes notes on usage and hardware
specifications for the UG30 Series.
UG230 Series <Hardware> FEH381 Describes notes on usage and hardware
specifications for the UG230 Series.
UG Series <Temperature Control Network> FEH365 Describes the procedure for connecting the UG
Series with a temperature controller.
UG Series <OPCN-1 Communications> FEH358 Describes the procedure for connecting to a PLC
through an optional OPCN-1 interface.
UG Series <T-Link Communications> FEH356 Describes the procedure for connecting to a PLC
through an optional T-Link interface.
UG Series <CC-Link Communications> FEH355 Describes the procedure for connecting to a PLC
through an optional CC-Link interface.
UG Series <SX-BUS Communications> FEH357 Describes the procedure for connecting to a PLC
through an optional SX-BUS interface.
UG Series <PROFIBUS Communications> FEH368 Describes the procedure for connecting to a PLC
through an optional PROFIBUS interface.
UG Series <FL-Net Communications> FEH367 Describes the procedure for connecting to a PLC
through an optional FL-NET interface.
UG Series <Allen Bradley Control Logix> FEH373 Describes the connection, communication
parameters and tag setting for AB Control Logix.
UG Series <Memory Card Editor> FEH359 Describes operating procedure of the memory card
editor.
UG Series <Ladder Monitor> FEH379 Describes instructions for the ladder monitor
function.

For further details about PLCs (programmable logic controllers), see the manual attached to each PLC.

Notes:
1. This manual may not, in whole or in part, be printed or reproduced without the prior written consent of
Fuji Electric FA Components & System Co., Ltd.
2. The information in this manual is subject to change without prior notice.
3. Windows and Excel are registered trademarks of Microsoft Corporation in the United States and other
countries.
4. All other company names or product names are trademarks or registered trademarks of their
respective holders.
5. This manual is intended to give accurate information about POD hardware. If you have any
questions, please contact your local distributor.
Record of Revisions

Reference numbers are shown at the bottom right corner on the front cover of each manual.

Printing Date Reference No. Revised Contents


March, 2004 FEH380 First edition
March, 2005 FEH380a Second edition
• PLC models added
Fuji Electric FA
Hitachi
KEYENCE
Matsushita Electric Works
MITSUBISHI ELECTRIC
SHARP
• Explanations added
Appendix 1 (PLC2Way)
Appendix 2 (Multi-link 2)
Appendix 3 (Multi-link)
Appendix 5 (Ethernet)
Appendix 6 (Universal Serial Connection)
Appendix 8 (Ladder Transfer Function)
• Applicable models for PLC2Way added
Notes on Safe Use of POD

In this manual, you will find various notes categorized under the following levels with the signal words “DANGER,”
and “CAUTION.”

Indicates an imminently hazardous situation which, if not avoided, will result in death or
DANGER serious injury.

Indicates a potentially hazardous situation which, if not avoided, may result in minor or
CAUTION moderate injury and could cause property damage.

Note that there is a possibility that the item listed with CAUTION may have serious ramifications.

DANGER
• Never use the input function of POD for operations that may threaten human life or damage the system,
such as switches to be used in case of emergency. Please design the system so that it can cope with
malfunction of a touch switch. A malfunction of the touch switch will result in machine accident or damage.
• Turn off the power supply when you set up the unit, connect cables or perform maintenance and inspection.
Otherwise, electrical shock or damage may occur.
• Never touch any terminals while the power is on. Otherwise, electric shock may occur.
• You must put a cover on the terminals on the unit when you turn the power on and operate the unit. Without
the terminal cover in place, electric shock may occur.
• The liquid crystal in the LCD panel is a hazardous substance. If the LCD panel is damaged, never swallow
the leaked liquid crystal. If the liquid crystal spills on your skin or clothing, use soap and wash off thoroughly.
• For POD using a lithium battery, never disassemble, recharge, deform by pressure, short-circuit, nor reverse
the polarity of the battery, and never dispose of the battery in fire. Failure to follow these conditions will lead
to explosion or ignition.
• For POD using a lithium battery, never use a battery that is deformed, leaks, or shows any other signs of
abnormality. Failure to follow these conditions will lead to explosion or ignition.
CAUTION
• Check the appearance of the unit when it is unpacked. Do not use the unit if any damage or deformation is
found. Failure to do so may lead to fire, damage or malfunction.
• For use in a facility or for a system related to nuclear energy, aerospace, medical, traffic equipment, or
mobile installations, please consult your local distributor.
• Operate (or store) POD under the conditions indicated in this manual and related manuals. Failure to do so
could cause fire, malfunction, physical damage or deterioration.
• Understand the following environmental limits for use and storage of POD. Otherwise, fire or damage to the
unit may result.
- Avoid locations where there is a possibility that water, corrosive gas, flammable gas, solvents, grinding
fluids or cutting oil can come into contact with the unit.
- Avoid high temperature, high humidity, and outside weather conditions, such as wind, rain or direct
sunlight.
- Avoid locations where excessive dust, salt, and metallic particles are present.
- Avoid installing the unit in a location where vibration or physical shock may be transmitted.
• Equipment must be correctly mounted so that the main terminal of POD will not be touched inadvertently.
Otherwise, an accident or electric shock may occur.
• Tighten the fixtures of the POD with a torque in the specified range. Excessive tightening may distort the
panel surface. Loose tightening may cause POD to come off, malfunction or be short-circuited.
• Check periodically that terminal screws on the power supply terminal block and fixtures are firmly tightened.
Loosened screws may result in fire or malfunction.
• Tighten terminal screws on the power supply terminal block equally to a torque of 0.5 N•m. Improper
tightening of screws may result in fire, malfunction, or trouble.
• POD has a glass screen. Do not drop or give physical shock to the unit. Otherwise, the screen may be
damaged.
• Connect the cables correctly to the terminals of POD in accordance with the specified voltage and wattage.
Over-voltage, over-wattage or incorrect cable connection could cause fire, malfunction or damage to the
unit.
• Be sure to establish a ground of POD. Ground FG terminal which must be used for the unit. Otherwise,
electric shock or a fire may occur.
• Prevent any conductive particles from entering into POD. Failure to do so may lead to fire, damage or
malfunction.
• After wiring is finished, remove the paper used as a dust cover before starting to operate POD. Operation
with the cover attached may result in accident, fire, malfunction, or trouble.
• Do not attempt to repair POD at your site. Ask us or the designated contractor for repair.
• Do not disassemble or modify POD. Otherwise, it may cause a malfunction.
• We are not responsible for any damages resulting from repair, overhaul or modification of POD that was
performed by an unauthorized person.
• Do not use a sharp-pointed tool when pressing a touch switch. Doing so may damage the screen.
• Only experts are authorized to set up the unit, connect the cables or perform maintenance and inspection.
• For POD using a lithium battery, handle the battery with care. The combustible materials such as lithium or
organic solvent contained in the battery may generate heat, explode, or catch fire, resulting in personal injury
or fire. Read related manuals carefully and handle the lithium battery correctly as instructed.
• When using a POD that has analog switch resolution with resistance film, do not press two or more points on
the screen at the same time. If there is a switch between the two pressed points, it may be activated.
• Take safety precautions during such operations as setting change during running, forced output, start, and
stop. Any misoperation may cause unexpected machine motions, resulting in machine accident or damage.
• In facilities where a failure of POD could lead to accident threatening human life or other serious damage, be
sure that the facilities are equipped with adequate safeguards.
• At the time of disposal, POD must be treated as industrial waste.
• Before touching POD, discharge static electricity from your body by touching grounded metal. Excessive
static electricity may cause malfunction or trouble.
[General Notes]
• Never bundle control cables and input/output cables with high-voltage and large-current carrying cables such
as power supply cables. Keep these cables at least 200 mm away from the high-voltage and large-current
carrying cables. Otherwise, malfunction may occur due to noise.
• When using POD in an environment where a source of high-frequency noise is present, it is recommended that
the FG shielded cable (communication cable) be grounded at its ends. However, the cable may be grounded
only at one end if this is necessary due to unstable communication conditions or for any other reason.
• Plug connectors or sockets of POD in the correct orientation. Otherwise, it may cause a malfunction.
• Do not use thinners for cleaning because they may discolor the POD surface. Use alcohol or benzine
commercially available.
• If a data receive error occurs when POD and the counterpart (PLC, temperature controller, etc.) are started at
the same time, read the manual for the counterpart unit and handle the error correctly.
• Avoid discharging static electricity on the mounting panel of the POD. Static charges can damage the unit and
cause malfunctions. Otherwise, malfunction may occur due to noise.
• Avoid prolonged display of any fixed pattern. Due to the characteristics of the liquid crystal display, an
afterimage may occur. If a prolonged display of a fixed pattern is expected, use the auto OFF function of the
backlight.
Contents

Preface

Notes on Safe Use of POD

1. Before Connecting to PLC


Types of Connection............................................................................................................................ 1-1
Interface............................................................................................................................................... 1-5
Wiring (1 : 1 Connection)..................................................................................................................... 1-8
UG00S-CW Setting (1 : 1 Connection).............................................................................................. 1-10

2. Allen-Bradley PLC
Available PLCs .................................................................................................................................... 2-1
Communication Setting ....................................................................................................................... 2-1
Available Memory ................................................................................................................................ 2-2
PLC-5 Series: Switch Setting .............................................................................................................. 2-3
SLC500 Series, Micro Logix 100: Transmission Parameter Setting.................................................... 2-5
Wiring .................................................................................................................................................. 2-6

3. Automationdirect PLC
Available PLCs .................................................................................................................................... 3-1
Communication Setting ....................................................................................................................... 3-1
Available Memory ................................................................................................................................ 3-2
Wiring .................................................................................................................................................. 3-2

4. Baldor PLC
Available PLCs .................................................................................................................................... 4-1
Communication Setting ....................................................................................................................... 4-1
Available Memory ................................................................................................................................ 4-1
Wiring .................................................................................................................................................. 4-2

5. DELTA PLC
Available PLCs .................................................................................................................................... 5-1
Communication Setting ....................................................................................................................... 5-1
Available Memory ................................................................................................................................ 5-1
Wiring .................................................................................................................................................. 5-2

6. FANUC PLC
Available PLCs .................................................................................................................................... 6-1
Communication Setting ....................................................................................................................... 6-1
Available Memory ................................................................................................................................ 6-1
Wiring .................................................................................................................................................. 6-2

7. FATEK AUTOMATION PLC


Available PLCs .................................................................................................................................... 7-1
Communication Setting ....................................................................................................................... 7-1
Available Memory ................................................................................................................................ 7-1
Wiring .................................................................................................................................................. 7-2

8. Fuji Electric FA PLC


Available PLCs .................................................................................................................................... 8-1
Communication Setting ....................................................................................................................... 8-2
MICREX-F Series, SPB (N Mode) & FLEX-PC Series: Switch Setting ............................................... 8-3
Available Memory ................................................................................................................................ 8-4
Wiring .................................................................................................................................................. 8-6

9. GE Fanuc PLC
Available PLCs .................................................................................................................................... 9-1
Communication Setting ....................................................................................................................... 9-1
Available Memory ................................................................................................................................ 9-2
Wiring .................................................................................................................................................. 9-3
10. Hitachi PLC
Available PLCs .................................................................................................................................. 10-1
Communication Setting ..................................................................................................................... 10-1
Switch Setting.................................................................................................................................... 10-3
Available Memory .............................................................................................................................. 10-4
Wiring ................................................................................................................................................ 10-6

11. IDEC PLC


Available PLCs .................................................................................................................................. 11-1
Communication Setting ..................................................................................................................... 11-1
Available Memory .............................................................................................................................. 11-1
Wiring ................................................................................................................................................ 11-2

12. KEYENCE PLC


Available PLCs .................................................................................................................................. 12-1
Communication Setting ..................................................................................................................... 12-2
Available Memory .............................................................................................................................. 12-4
Wiring ................................................................................................................................................ 12-6

13. KOYO ELECTRONICS PLC


Available PLCs .................................................................................................................................. 13-1
Communication Setting ..................................................................................................................... 13-2
Available Memory .............................................................................................................................. 13-2
Switch Setting.................................................................................................................................... 13-3
Wiring ................................................................................................................................................ 13-5

14. LG PLC
Available PLCs .................................................................................................................................. 14-1
Communication Setting ..................................................................................................................... 14-1
Available Memory .............................................................................................................................. 14-2
Wiring ................................................................................................................................................ 14-4

15. Matsushita Electric Works PLC


Available PLCs .................................................................................................................................. 15-1
Communication Setting ..................................................................................................................... 15-2
DIP Switch Setting............................................................................................................................. 15-2
System Register Setting .................................................................................................................... 15-3
Available Memory .............................................................................................................................. 15-4
Wiring ................................................................................................................................................ 15-5

16. MITSUBISHI ELECTRIC PLC


Available PLCs .................................................................................................................................. 16-1
Communication Setting ..................................................................................................................... 16-3
A Series Link, QnA Series Link: Switch Setting................................................................................. 16-6
Available Memory .............................................................................................................................. 16-7
Wiring ................................................................................................................................................ 16-9
A Link + Net10 ................................................................................................................................. 16-14
UG00P-DI (Dual Port Interface)....................................................................................................... 16-16

17. MODICON PLC


Available PLCs .................................................................................................................................. 17-1
Communication Setting ..................................................................................................................... 17-1
Available Memory .............................................................................................................................. 17-1
Wiring ................................................................................................................................................ 17-2

18. MOELLER PLC


Available PLCs .................................................................................................................................. 18-1
Communication Setting ..................................................................................................................... 18-1
Available Memory .............................................................................................................................. 18-1
Wiring ................................................................................................................................................ 18-2

19. OMRON PLC


Available PLCs .................................................................................................................................. 19-1
Communication Setting ..................................................................................................................... 19-2
Available Memory .............................................................................................................................. 19-3
Wiring ................................................................................................................................................ 19-4
SYSMAC CS1/CJ1 DNA ................................................................................................................... 19-8
20. SAIA PLC
Available PLCs .................................................................................................................................. 20-1
Communication Setting ..................................................................................................................... 20-1
S-BUS Configuration ......................................................................................................................... 20-1
Available Memory .............................................................................................................................. 20-1
Wiring ................................................................................................................................................ 20-2

21. SAMSUNG PLC


Available PLCs .................................................................................................................................. 21-1
Communication Setting ..................................................................................................................... 21-1
Available Memory .............................................................................................................................. 21-1
Wiring ................................................................................................................................................ 21-2

22. SHARP PLC


Available PLCs .................................................................................................................................. 22-1
Communication Setting ..................................................................................................................... 22-2
JW Series: Switch Setting ................................................................................................................. 22-3
JW Series, JW100/70H COM Port, JW20 COM Port, JW300 Series: System Memory Setting........ 22-3
Available Memory .............................................................................................................................. 22-4
Wiring ................................................................................................................................................ 22-5

23. SHINKO ELECTRIC PLC


Available PLCs .................................................................................................................................. 23-1
Communication Setting ..................................................................................................................... 23-1
Available Memory .............................................................................................................................. 23-1
Wiring ................................................................................................................................................ 23-2

24. Siemens PLC


Available PLCs .................................................................................................................................. 24-1
Communication Setting ..................................................................................................................... 24-1
Available Memory .............................................................................................................................. 24-4
Wiring ................................................................................................................................................ 24-7

25. TAIAN PLC


Available PLCs .................................................................................................................................. 25-1
Communication Setting ..................................................................................................................... 25-1
Available Memory .............................................................................................................................. 25-1
Wiring ................................................................................................................................................ 25-2

26. Telemecanique PLC


Available PLCs .................................................................................................................................. 26-1
Communication Setting ..................................................................................................................... 26-1
Available Memory .............................................................................................................................. 26-1
Wiring ................................................................................................................................................ 26-2

27. TOSHIBA PLC


Available PLCs .................................................................................................................................. 27-1
Communication Setting ..................................................................................................................... 27-1
Available Memory .............................................................................................................................. 27-2
Wiring ................................................................................................................................................ 27-3

28. TOSHIBA MACHINE PLC


Available PLCs .................................................................................................................................. 28-1
Communication Setting ..................................................................................................................... 28-1
Available Memory .............................................................................................................................. 28-1
Wiring ................................................................................................................................................ 28-2

29. Toyoda Machine Works PLC


Available PLCs .................................................................................................................................. 29-1
Communication Setting ..................................................................................................................... 29-1
Switch Setting.................................................................................................................................... 29-1
Available Memory .............................................................................................................................. 29-2
Screen Editing (Memory Input).......................................................................................................... 29-2
Wiring ................................................................................................................................................ 29-3

30. TOYO DENKI PLC


Available PLCs .................................................................................................................................. 30-1
Communication Setting ..................................................................................................................... 30-1
Available Memory .............................................................................................................................. 30-1
Wiring ................................................................................................................................................ 30-2
31. VIGOR PLC
Available PLCs .................................................................................................................................. 31-1
Communication Setting ..................................................................................................................... 31-1
Available Memory .............................................................................................................................. 31-1
Wiring ................................................................................................................................................ 31-2

32. Yamatake PLC


Available PLCs .................................................................................................................................. 32-1
Communication Setting ..................................................................................................................... 32-1
Available Memory .............................................................................................................................. 32-1
Wiring ................................................................................................................................................ 32-2

33. Yaskawa Electric PLC


Available PLCs .................................................................................................................................. 33-1
Communication Setting ..................................................................................................................... 33-1
Available Memory .............................................................................................................................. 33-2
Wiring ................................................................................................................................................ 33-3

34. Yokogawa Electric PLC


Available PLCs .................................................................................................................................. 34-1
Communication Setting ..................................................................................................................... 34-2
Available Memory .............................................................................................................................. 34-3
Wiring ................................................................................................................................................ 34-4

Appendix 1 PLC2Way
PLC2Way ..................................................................................................................................... App1-1
Limitations on Connection at PLC2Way ....................................................................................... App1-2
PLCs Compatible with PLC2Way Connection at MJ Port ............................................................ App1-3
Wiring ........................................................................................................................................... App1-4
UG00S-CW Setting ...................................................................................................................... App1-6
Reading the PLC2 Memory ........................................................................................................ App1-13
Writing into PLC2 Memory (UG30 Series only) .......................................................................... App1-17
Sampling from the PLC2 Memory .............................................................................................. App1-22
Transferring Data in the PLC2 Memory ...................................................................................... App1-25
Indirect Memory Designation...................................................................................................... App1-27
User Log Read for Yokogawa’s PLC.......................................................................................... App1-27
Processing Cycle........................................................................................................................ App1-28
Notes on Screen Data Transfer.................................................................................................. App1-29
System Memory.......................................................................................................................... App1-30

Appendix 2 n : 1 Connection (Multi-link 2)


Multi-link 2 .................................................................................................................................... App2-1
Wiring ........................................................................................................................................... App2-2
UG00S-CW Setting ...................................................................................................................... App2-7
Communication Error.................................................................................................................... App2-8

Appendix 3 n : 1 Connection (Multi-link)


Multi-link ....................................................................................................................................... App3-1
Wiring ........................................................................................................................................... App3-2
UG00S-CW Setting ...................................................................................................................... App3-6

Appendix 4 1 : n Connection (Multi-drop)


1 : n Connection ........................................................................................................................... App4-1
Wiring (RS-422/485)..................................................................................................................... App4-2
UG00S-CW Setting ...................................................................................................................... App4-2
Notes on Communication Errors .................................................................................................. App4-3

Appendix 5 Ethernet
Ethernet ........................................................................................................................................ App5-1
LAN Port Specifications................................................................................................................ App5-3
IP Address for the Unit ................................................................................................................. App5-5
Wiring ........................................................................................................................................... App5-6
Transferring Screen Data ............................................................................................................. App5-9
UG00S-CW Setting: PLC Type/Communication Parameter....................................................... App5-12
UG00S-CW Setting: Network Table Editing ............................................................................... App5-16
UG00S-CW Setting: Macro ........................................................................................................ App5-21
System Memory.......................................................................................................................... App5-24
Ethernet Access Functions (HKEtn10.DLL) ............................................................................... App5-28
Server Communication Procedure ............................................................................................. App5-41
Error Display............................................................................................................................... App5-42
Appendix 6 Universal Serial Communications
Interface........................................................................................................................................ App6-1
System Setting ........................................................................................................................... App6-11
Standard Type Protocol.............................................................................................................. App6-17
1-byte Character Code List......................................................................................................... App6-39
Memory Map............................................................................................................................... App6-40

Appendix 7 UG-Link
UG-Link ........................................................................................................................................ App7-1
Wiring ........................................................................................................................................... App7-2
UG00S-CW Setting ...................................................................................................................... App7-4
Protocol ........................................................................................................................................ App7-5
NAK: Error Codes......................................................................................................................... App7-9
1-byte Character Code List......................................................................................................... App7-10

Appendix 8 Ladder Transfer Function


Applicable PLCs ........................................................................................................................... App8-1
Connection ................................................................................................................................... App8-1
Setting .......................................................................................................................................... App8-3
Notes on Ladder Transfer Function.............................................................................................. App8-5
Ladder Communication Program.................................................................................................. App8-5

Connection Compatibility List 1


UG530/UG430/UG330/UG230+UG230A-DCL................................................................................ List-1
UG230 ............................................................................................................................................. List-4
1. Before Connecting to PLC 1-1

1. Before Connecting to PLC

Types of Connection
There are four types of connection between POD(s) and PLC(s).

1 : 1 Connection
Outline
One set of the POD is connected to one PLC (1 : 1 connection).
The wiring diagrams and the description of settings for connection to PLCs in 1 : 1 connections can be
found from Chapter 2 onward.

POD PLC

CN1

RS-232C or RS-422 (RS-485)

The host link unit of the PLC or the CPU port is used and the POD (master station) establishes
communications according to the protocol of the PLC. Consequently, it is not necessary to have the
dedicated communication program on the PLC (slave station). The POD reads the PLC memory for
screen display. It is also possible to write switch data or numerical data entered through the keypad
directly to the PLC memory.
POD PLC

Read

Write

Connection
The interface used for 1 : 1 connection varies depending on the POD model.
• CN1 (D-sub 25-pin) for UG30/20 and UG230 + UG230A-DCL
• MJ2 (RJ-45 8-pin) for UG230

UG30/20 Series
PLC
CN1
RUN ... ... ... ...
... ... ... ...
STOP ...
...
...
...
...
...
...
...
UG230

MJ2

CN1
UG230 + UG230A-DCL

For details on wiring and settings for 1 : 1 connection, refer to page 1-8.
1-2 1. Before Connecting to PLC

1 : n Connection (Multi-drop)
Outline
One POD is connected to multiple PLCs. (Maximum connectable PLCs: 31)
POD

CN1 Maximum length (POD to the terminating PLC) = 500 m


RS-422/RS-485 connection

PLC1 PLC2 PLC3 PLCn (n = 1 to 31)

Notes on Connection
For more information, refer to “Appendix 4, 1 : n Connection (Multi-drop).”
1. Before Connecting to PLC 1-3

n : 1 Connection (Multi-link 2)
Outline
• One PLC is connected to a maximum of four PODs.
• An original network is created where the POD (Local Port 1) that is directly connected to the PLC
is the master station, and other three PODs are slave stations. Only the master station makes
communications directly with the PLC, and the slave stations make communications with the PLC
via the master station.
POD master station POD slave station POD slave station POD slave station

Local port 1 Local port 2 Local port 3 Local port 4

CN1 MJ2 CN1 CN1 CN1

RS-232C
RS-422
RS-485
Fuji’s cable RS-485 connection
“UG00C-H03” (3 m)

PLC

• Communications between the POD master station and the PLC depend on the communication
speed set on the PLC. The maximum available speed for the POD is 115 kbps, which is higher
than the one available with multi-link connection described in “n : 1 Connection (Multi-link)” (page
1-4).
• This multi-link 2 connection is available with almost all the PLC models that support 1 : 1
connection (refer to the “Appendix”).
The connection between the master station and the PLC is the same as the one for 1 : 1
connection.
• Use the RS-485 2-wire connection between stations of the POD. Please use our multi-link 2
master cable (UG00C-H03) for connection between the master station (Local Port 1) and the slave
station (Local Port 2).
• In the following cases, multi-link 2 connection is not available.
1. A communication interface unit (example: OPCN-1, T-LINK, Ethernet, etc.) is used.
2. The UG20 Series (master or slave station) is used for the temperature control network or
PLC2Way function.
• The UG30 and UG20 Series can be used together. The UG20 Series can be the master station.
(However, when UG221/UG220 is the master station, the slave station must be UG221/UG220.
Also, depending on the hardware version of the UG20 Series, multi-link 2 connection may not be
supported. Refer to the User’s Manual <UG20 Series Hardware> (FEH352).)

Notes on Connection
For more information, refer to “Appendix 2, n : 1 Connection (Multi-link 2).”
1-4 1. Before Connecting to PLC

n : 1 Connection (Multi-link)
Outline
• One PLC is connected to multiple PODs. (Maximum connectable PODs: 31)
POD No. 1 POD No. 2 POD No. 3 POD No. “n” (n = 1 to 31)

CN1 CN1 CN1 CN1

Maximum length (PLC to the terminating POD) = 500 m


RS-422/RS-485 connection

PLC

• The PLC must be of the type of signal level RS-422/RS-485 with port numbers.
For the available PLC models, refer to “Connection Compatibility List” at the back of this manual.
RS-422 connection between the POD ↔ PLC must be in 2-wire connection.
• The UG30 and UG20 Series can be used together.

Notes on Connection
For more information, refer to “Appendix 3, n : 1 Connection (Multi-link).”
1. Before Connecting to PLC 1-5

Interface

CN1 (D-sub 25-pin) (UG30/20 Series and UG230 + UG230A-DCL)

CN1 (D-sub 25-pin, female) Pin No. Signal Name Contents


1 FG Frame ground
2 SD RS-232C send data
3 RD RS-232C receive data
4 RS RS-232C RS request to send
5 CS RS-232C CS clear to send
6 Not used
7 SG Signal ground
8 Not used
9 +5 V Use prohibited

14 25 10 0V Use prohibited
11 Not used
12 +SD RS-422 send data (+)
13 −SD RS-422 send data (−)
14 +RS RS-422 RS send data (+)
15 Not used
1 13 16 Not used
17 −RS RS-422 RS send data (−)
18 −CS RS-422 CS receive data (−)
19 +CS RS-422 CS receive data (+)
20 Not used
21 − Use prohibited (UG330: not used)
22 − Use prohibited (UG330: not used)
23 Not used
24 +RD RS-422 receive data (+)
25 −RD RS-422 receive data (−)

PLC
D-sub 25-pin (male)

The following connector is recommended.

Recommended connector DDK-make 17JE23250-02 (D8A) D-sub 25-pin, male, metric thread, with hood
1-6 1. Before Connecting to PLC

MJ2 (UG230 only)

MJ2 Pin No. Signal Name Contents


+SD/RD RS-485 + data
1 *1
+SD RS-422 + send data
−SD/RD RS-485 − data
2 *1
−SD RS-422 − send data
12345678
3 Externally supplied +5 V
+5 V
4 Max. 150 mA *2

5
SG Signal ground
6
RD RS-232C receive data
7 *1
+RD RS-422 + receive data
SD RS-232C send data
8 *1
-RD RS-422 − receive data

*1 Switch between RS-232C/RS-485 and RS-422 for pin Nos. 1, 2, 7, and 8 with the slide switch on the POD. For
more information, refer to “Slide Switch.”
*2 The maximum current for the output power supply (+5 V) is 150 mA when MJ1 or MJ2 is used.

Pin arrangement
on the POD Pin arrangement
12345678 on the cable
87654321
PLC

* The pin arrangement shown above assumes


the cable is viewed as shown in the figure.
RJ-45 8-pin

Slide Switch
• Whether MJ2 is used as an RS-232C/RS-485 or RS-422 (4-wire) port is selected with the slide
switch. Before connecting a POD to a PLC, check that the switch is set to the correct side.
• The slide switch is adjacent to the DIP switch on the side of the UG230.
The switch is factory-set to RS-422. When RS-422 is selected, the slide switch is in the lower
position. To select RS-232C/RS-485, slide the switch to the upper position.

Side View

Slide switch
Lower position: RS-422 (4-wire)
Upper position: RS-232C/RS-485
1. Before Connecting to PLC 1-7

Connection between MJ2 and PLC


There are two connection methods.
• With UG30C-J
One method uses an adaptor UG30C-J for connection between MJ2 and the D-sub 25-pin
connector plus a PLC communication cable.
For connection of a PLC communication cable, refer to the CN1 pin arrangement.

Example: Connecting to MITSUBISHI A1SJ71UC24-R2

POD PLC communication cable


D-sub 25-pin (male)
D-sub 9-pin (male)
Signal Pin
Name No. PLC
Signal Pin
FG 1 Name No.
UG30C-J
SD 2 CD 1
MJ2
RD 3 RD 2

RS 4 SD 3

CS 5 SG 5
SG 7 DR 6

RS 7

CS 8

• With UG00C-P
Refer to the PLC wiring diagram and the MJ2 pin arrangement.

Example: Connecting to MITSUBISHI A1SJ71UC24-R2


RJ-45 8-pin
MJ2
D-sub 9-pin (male)
Signal Pin UG00C-P
Name No. PLC
Signal Pin
SG SHELL Name No.
SD 8 CD 1

RD 7 RD 2
SG 5 SD 3

SG 5

DR 6

RS 7

CS 8
1-8 1. Before Connecting to PLC

Wiring (1 : 1 Connection)

Electric shock hazard


DANGER Shut the power off before connecting cables.

Prepare the communication cable with the PLC on your side.


Refer to the following information for the cable.
For more information on the connection to respective PLCs, refer to “Chapter 2” and later.

RS-232C Connection
• Connect the shielded cable either to the POD or PLC side. This connection diagram shows the
case where the shielded cable is connected on the POD side.
When connecting the shielded cable to the POD side, connect it to pin 1 of the connector or the
connector case cover.
The metal shell of the modular jack 2 on the UG230 is used as SG (signal ground). Connect the
shielded cable to the metal shell of modular jack 2.
• Twisted pairs of 0.3 mm sq. or above are recommended.
UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
To the PLC’s RS-232C port
Signal Shield
Pin No. Pin No.
Name

*1 SHELL 1

SD 8 2 Receive data

RD 7 3 Send data

RS 4

CS 5
SG 5 7 SG
*1 Pin No. 1 of CN1 is used as FG.
The metal shell of the modular jack
2 on the UG230 is used as SG.

• If noise disturbs communications, use twisted pairs between SD/SG and RD/SG.
UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
To the PLC’s RS-232C port
Signal Shield
Name Pin No. Pin No.

Receive data
*1 SHELL 1
SG
SD 8 2

RD 7 3 SG

RS 4 Send data

CS 5
SG 5 7

*1 Pin No. 1 of CN1 is used as FG.


The metal shell of the modular jack
2 on the UG230 is used as SG.
1. Before Connecting to PLC 1-9

RS-422/485 Connection
• Connect twisted pairs between +SD/−SD and +RD/−RD.
• If the PLC has the terminal for signal ground (SG), be sure to connect a wire.
• Connect the shielded cable either to the POD or PLC side. This connection diagram shows the
case where the shielded cable is connected on the POD side.
When connecting the shielded cable to the POD side, connect it to pin 1 of the connector or the
connector case cover.
The metal shell of the modular jack 2 on the UG230 is used as SG (signal ground). Connect the
shielded cable to the metal shell of modular jack 2.
• To use a terminal block for connection, use our “UG00P-TC” optionally available. When using
UG00P-TC on the UG230, the option unit UG230A-DCL must be installed.
• The DIP switch on the side or back of POD units is used to set the terminating resistors. For more
information, refer to the description of the DIP switch setting in the relevant Hardware
Specifications.
• Twisted pairs of 0.3 mm sq. or above are recommended.

<4-wire system>
UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
To the PLC’s RS-422 port
Shield
Signal
Pin No. Pin No.
Name

*1 SHELL 1
SG
SG 5 7
Receive data (+)
+SD 1 12

-SD 2 13 Receive data (−)

+RD 7 24 Send data (+)

-RD 8 25 Send data (−)

*1 Pin No. 1 of CN1 is used as FG.


The metal shell of the modular jack
2 on the UG230 is used as SG.

<2-wire system>
UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
To the PLC’s RS-422 port
Signal Shield
Pin No. Pin No.
Name

*1 SHELL 1

SG 5 7 SG

+SD 1 12 Send/receive data (+)

-SD 2 13 Send/receive data (−)

+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used as FG.
The metal shell of the modular jack
2 on the UG230 is used as SG.
1-10 1. Before Connecting to PLC

UG00S-CW Setting (1 : 1 Connection)


For serial communications, the following settings on the UG00S-CW editor are required.
The settings in the [Select PLC Type] and [Comm. Parameter] dialogs are shown on the Main Menu
screen of the POD. (For more information, refer to “Chapter 6, POD Operations” in User’s Manual
<UG30 Series Hardware> (FEH377).)

PLC Selection
Select the PLC that is connected.
• Setting Procedure
[System Setting] → [PLC Type] → [Select PLC Type] dialog

Communication Parameter Setting


The communication parameter setting is essential for successful communications between the POD
↔ PLC. Check the communication parameter setting on the PLC before making the setting on POD.
• Setting Procedure
[System Setting] → [Comm. Parameter] → [Comm. Parameter] dialog
• Setting Items
[Connection] (1 : 1 / 1 : n / Multi-Link / Multi-Link 2)
Select the type of connection between the POD and the PLC. There are four types available.
Depending on the selected type, the setting items in the [Comm. Parameter] dialog or those
for the memory vary.
Select [1 : 1] for 1 : 1 connection.
[Local No.]
Set the port number of the PLC.
[Trans. Mode] (Trans. Mode 1 / Trans. Mode 4)
When the PLC has a transmission mode setting, set the same on the POD.
This setting must be used for PLCs of MITSUBISHI, OMRON, Hitachi, Yokogawa, Toyoda
Machine and Yaskawa.
[Baud Rate] [Signal Level] [Data Length] [Stop Bit] [Parity]
Make the same setting as the PLC. (Refer to “Chapter 2” and later.)
[Baud Rate] (4800, 9600, 19200, 38400, 57600, 76800, 115.2k bps)
Set the same communication speed as the PLC.
[Signal Level] (RS-232C/RS-422)
Set the same communication interface as the PLC.
[Data Length] (7-bit/8-bit)
Choose either data length for communication.
[Stop Bit] (1-bit/2-bit)
Choose either stop bit for communication.
[Parity] (None/Odd/Even)
Choose any of the parity options for communication.
[Send Delay Time] (0 to 255) (Unit: ×1 msec)
Set a time delay in sending the next command to the PLC
PLC after receipt of a response from the PLC.
POD
Normally use the default setting.
Send delay
time “t”
1. Before Connecting to PLC 1-11

Choose the action to be taken against communication errors.


[Comm. Err. Handling]
Set error handling routine in the case that a communication error between the POD and
the PLC occurs.
[Stop] If any communication error has arisen, the communications are stopped.
When restoring, use the Retry switch (found on the error screen of the
POD).
[Continuous] If any communication error has arisen, it is indicated at the top left corner
on the screen. The POD conducts polling of the PLC, and if OK, the error
state is automatically reset.

Supplemental Information:
Polling
“Polling” means to constantly monitor and check the state of the other station.

[Time-out Time] (0 to 999) (Unit: ×10 msec)


Specify a time for monitoring the receiving of a response from the PLC. If no response is
received within the specified time, a retrial is attempted.
[Retrials] (1 to 255)
Specify the number of retrial times. When the problem persists even after as many retrials
as specified, the system will start the error handling routine.
[Text Process] 15 0
[LSB → MSB]
(LSB → MSB / MSB → LSB) MSB LSB
When processing characters, choose 2nd byte 1st byte

either option for arranging 1st/2nd bytes 15 0


in one word. [MSB → LSB] MSB LSB
[Code] (DEC/BCD) 1st byte 2nd byte

Choose the code for entering numerical


data.
For some numerical data, such as those for data displays or data sampling in the sampling
mode, this setting is not applied because BCD or DEC should be chosen for [Input Type].
[Read Area] [Write Area]
For more information, refer to “System Memory” (page 1-12).
[ Read/Write Area UG200 Compatible]
When converting screen data files created on UG200 into those of the UG30/20 Series, this
option is automatically checked.
When this option is checked, UG200 compatibility is supported by securing 2 words each for
[Read Area] and [Write Area] in the same format as UG200. For more information, refer to the
User’s Manual <UG200 Function> (FEH295).
[ Use Ethernet]
When using Ethernet communications, check this option.
For details, refer to “9. Ethernet” in “Chapter 5, Connections” in the separate Use’s Manual
<UG30 Series Hardware> (FEH377).
1-12 1. Before Connecting to PLC

System Memory
[Read Area] and [Write Area] must be secured for communications between the POD and the PLC.
• Setting Procedure
[System Setting] → [Comm. Parameter] → [Comm. Parameter] dialog
• Setting Items
[Read Area] (3 words or more)*
- This is the area where commands from the PLC are received for screen display changes.
Consecutive three words from the specified memory address are used as “read area.”

Address Name Contents


n RCVDAT Sub command/data
n+1 SCRN_COM Screen status command
n+2 SCRN_No Screen number command

* When you have created screens with the following function, the number of required memory
addresses vary.
• When the sampling function is used:
Refer to the User’s Manual <Function> (FEH376).
• [ Read/Write Area UG200 Compatible] is checked:
Refer to the User’s Manual <UG200 Function> (FEH295).
- Set “0” for all the bits not used in the read area.
• RCVDAT (n) Sub command/data

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0 0 0 0 0 0 0 0 0 0 0

Free
BZ0 ([0 → 1] leading edge)
To forcibly change the bits for “free”
BZ1 ([0 → 1] leading edge) area, the same data is written to
System reserved (setting [0]) CFMDATA in [Write Area] after the
screen is displayed.
Calendar setting ([0 → 1] leading edge)
Use this function for watch dog or
System reserved (setting [0]) display scanning.

• SCRN_COM (n + 1) Screen status command

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0 0 0 0

Overlap 0
Overlap 1
Overlap 2
System reserved (setting [0])

Global macro execution ([0 → 1] leading edge)


Data sheet output ([0 → 1] leading edge)
Screen hard copy ([0 → 1] leading edge)
Backlight (level)
Normal overlap or call-overlap:
System reserved (setting [0]) 0 → 1: ON
Screen internal switching (level) 1 → 0: OFF

Screen forced switching ([0 → 1] leading edge) Multi-overlap:


Level (with exceptions)
Data read refresh ([0 → 1] leading edge)
1. Before Connecting to PLC 1-13

• SCRN_No. (n + 2) Screen number command

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0

Screen number

System reserved (setting [0])

Use example: To specify a screen number from the PLC:


When “D0” is set for [Read Area], the screen number is written in “D2” of the PLC.
Problem example: The screen display does not change when a screen number is specified from
the PLC.
If the same number as the one specified for “n + 2” is already contained in this memory
address, the screen display does not change even if it is specified again.
For example, if screen No. 5 is specified from the PLC and it was once changed to screen No.
2 → No. 0 by internal switches, normally it cannot be returned to the former screen No. 5 that
was specified by an external command, because the external screen command number (5)
remains the same as before in the memory address (“D2” in the read area) for the screen
number command. In such a case, it is possible to forcibly switch the screen to the screen
number contained in “D2” in the read area at the leading edge [0 → 1] of bit 14 of the memory
address for the screen status command (“D1” in the read area).

Screen No. 5
D000
D001
D002 5
No. 2

Read area “n + 2”
= Screen number command No. 2

Data in the read area “n + 2” remains the same even Screen No. 2
if the actual screen has been switched internally.

No. 0

To show screen No. 5 again using an external screen


command, set [0→1] to bit 14 of read area “n + 1.” No. 0

Screen forced switching (bit 14)


15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00

D000
D001 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Screen No. 0
D002 0 0 0 5

No. 3
Screen No. 5

No. 2
1-14 1. Before Connecting to PLC

[Write Area] (3 words)*


This is an area where the screen status is written.
Consecutive three words from the specified memory address are used as “write area.”
* When you have converted UG200 data to the UG30/20 Series data, the number of required
memory addresses vary. Refer to the User’s Manual <UG200 Function> (FEH295).

Address Name Contents


n CFMDAT Same as data in read area “n”
n+1 SCRN_COM Screen status
n+2 SCRN_No Displayed screen number

• CFMDAT (n)

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0 0 0 0 0 0 0 0 0 0 0

Free
BZ0
BZ1
System reserved (setting [0])
Calendar setting
System reserved (setting [0])

• SCRN_COM (n + 1) Screen status

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0 0 0

Overlap 0
Overlap 1
Overlap 2
System reserved (setting [0])

Serial extension I/O


Global macro execution
Printer busy
Print data transferring
Backlight
System reserved (setting [0])
Screen internal switching
Screen forced switching
Data read refresh

• SCRN_No. (n + 2) Displayed screen number

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0

Screen number

System reserved (setting [0])


2. Allen-Bradley PLC 2-1

2. Allen-Bradley PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


1785-KE RS-232C [Wiring Diagram 1]
PLC-5 PLC-5 RS-232C [Wiring Diagram 2]
1770-KF2
RS-422 [Wiring Diagram 6]
CPU (processor module)
RS-232C [Wiring Diagram 3]
RS-232C channel
SLC500 SLC 5/03 and later
RS-232C [Wiring Diagram 4]
1747-KE
RS-422 [Wiring Diagram 7]
A•B’s RS-232C
Ladder transfer cable*1
Micro Logix 1000 Micro Logix 1000 Port on CPU
+
RS-232 [Wiring Diagram 5]
Control Logix Control Logix 1756 system Logix5550 *2

*1 When using RS-232C ladder transfer cable made by Allen-Bradley, connect the cable shown in [Wiring
Diagram 5] to the D-sub 9-pin side of the ladder transfer cable for communications with the POD.
*2 For more information on connection to A•B Control Logix, refer to the User’s Manual <A•B Control Logix>
(FEH373).

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

PLC-5 Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 0
Parity Even Even

Transmission RS-232C − −
mode RS-422 1785-KE not supported −

Transmission Data length 8 8


code Stop bit 1 1
Protocol Full duplex (fixed) −
Error check BCC (fixed) −
Reponse NO (fixed) −
2-2 2. Allen-Bradley PLC

SLC500 Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 0
Parity Even Even

Transmission RS-232C − −
mode RS-422 Channel 0 not supported −

Transmission Data length 8 8


code Stop bit 1 1
Protocol Full duplex (fixed) −
Error check BCC (fixed) −
Reponse NO (fixed) −

Micro Logix 1000

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 0 0
Parity None (fixed) Not provided

Transmission Data length 8 (fixed) 8


code Stop bit 1 (fixed) 1
Error check CRC (fixed) −

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

PLC-5 Series

Memory TYPE Remarks


N (integer) 0
B (bit) 1
T.ACC (timer/current value) 2
T.PRE (timer/set value) 3
C.ACC (counter/current value) 4
C.PRE (counter/set value) 5
I (input) 6
O (output) 7
S (status) 8
T (timer/control) 9
C (counter/control) 10
R (control) 11
R.LEN (control/data length) 12
R.POS (control/data position) 13
D (BCD) 14
A (ASCII) 15
2. Allen-Bradley PLC 2-3

SLC500 Series, Micro Logix 1000

Memory TYPE Remarks


N (integer) 0
B (bit) 1
T.ACC (timer/current value) 2
T.PRE (timer/set value) 3
C.ACC (counter/current value) 4
C.PRE (counter/set value) 5
I (input) 6
O (output) 7
S (status) 8
T (timer/control) 9
C (counter/control) 10
R (control) 11
R.LEN (control/data length) 12
R.POS (control/data position) 13
D (BCD) 14
A (ASCII) 15
F (FLOAT) 16
ST (STRING) 17

PLC-5 Series: Switch Setting

1785-KE
SW1 (Protocol)

No Setting Contents
1 ON
2 OFF BCC, even, no
3 OFF
4 ON Duplicated message unacceptable
5 OFF Handshaking signal ignored
6 ON Execution of diagnosis command

SW2 (Station number)


Set the station number of 1785-KE. (This station should not be duplicated in the network.)

No Setting Contents
1 ON
1st digit (octal)
2 ON
3 ON/OFF
4 ON/OFF 2nd digit (octal)
5 ON/OFF
6 ON/OFF
7 ON/OFF 3rd digit (octal)
8 ON/OFF
2-4 2. Allen-Bradley PLC

SW3 (Network link communication speed)


Adjust to the settings of the network you are using.

No Setting Contents
1 ON
Data highway (57.6 kbps)
2 ON
3 ON
4 ON Link communication speed (19.2 kbps)
5 ON
6 ON Local/remote selection

SW4 (Reserved)

No Setting Contents
1 OFF
2 OFF
For extension, always OFF
3 OFF
4 OFF

1770-KF2
SW1 (Protocol)

No Setting Contents
1 ON Protocol
2 OFF Protocol
3 ON Duplicated message unacceptable
4 OFF Handshaking signal ignored
5 OFF Protocol

SW2, SW3, SW4 (Station number)


Set the station number of 1770-KF2. (This station should not be duplicated in the network.)

SW5 (Network link communication speed)


Adjust to the settings of the network you are using.

Switch Setting
Contents
1 2
ON ON 57.6 kbps

SW6 (Asynchronous link communication speed)


Adjust to the settings of the POD.

No Setting Contents
1 OFF
2 ON 9600 bps
3 ON
4 ON Execution of diagnosis command
2. Allen-Bradley PLC 2-5

SW7 (Network link selection)

Switch Setting
Contents
1 2
ON OFF Peer transmission link

SW8 (RS-232C/RS-422 selection)

Switch Setting
Contents
1 2
OFF ON RS-232C
ON OFF RS-422

SLC500 Series, Micro Logix 100: Transmission Parameter Setting

CPU Port Channel 0


Set up the parameters for CPU port channel 0 using the software specifically designed for this
purpose.

Driver : DF1 Full Duplex


Baud : 19200
Parity : EVEN
Control Line : No Handshaking
Error Detection : BCC
Embedded Responses : Auto Detect
Duplicate Packet Detect : ON
ACK Timeout (×20 ms) : 20
NAK Retries :3
ENQ Retries :3

1747-KE
Set up the parameters for 1747-KE using the software specifically designed for this purpose.

DF1 Port Setup Menu


Baudrate : 19200
Bits Per Character :8
Parity : Even
Stop Bits :1
DF1 Full-Duplex Setup Parameters
Duplicate Packet Detection : Enabled
Checksum : BCC
Constant Carrier Detect : Disabled
Message Timeout : 400
Hardware Handshaking : Disabled
Embedded Response Detect : Auto Detect
ACK Timeout (×5 ms) : 90
ENQuiry Retries :3
NAK Received Retries :3
2-6 2. Allen-Bradley PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Name
Pin No.

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 RTS 4

CS 5 CTS 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the DCD 8
modular jack 2 on the
UG230 is used as SG.
DTR 11
* Use shielded twist-pair cables.
SG 13

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (female)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 RTS 4

CS 5 CTS 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the DCD 8
modular jack 2 on the
UG230 is used as SG. DTR 20
* Use shielded twist-pair cables.
2. Allen-Bradley PLC 2-7

Wiring Diagram 3

UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male) D-sub 9-pin (female)

Signal Signal
Name Pin No. Pin No. Name Pin No.

*1 SHELL 1 DCD 1

SD 8 2 RXD 2

RD 7 3 TXD 3

RS 4 DTR 4

CS 5 COM 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used RTS 7
as FG.
The metal shell of the CTS 8
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (female)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RXD 2

RD 7 3 TXD 3

RS 4 DTR 4

CS 5 COM 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used RTS 7
as FG.
The metal shell of the CTS 8
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.
2-8 2. Allen-Bradley PLC

Wiring Diagram 5

UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male) D-sub 9-pin (male)

Signal Signal
Pin No. Pin No. Pin No.
Name Name

*1 SHELL 1 CD 1

SD 8 2 RD 2

RD 7 3 SD 3 A•B’s RS-232C
Ladder transfer
RS 4 RS 4 cable Micro
Logix
CS 5 GND 5 1000
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used RS 7
as FG. * Use shielded twist-pair cables.
The metal shell of the CS 8
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (female)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name
Pin No.

+SD 1 12 RTS 4

-SD 2 13 CTS 5

+RD 7 24 DSR 6
-RD 8 25 DCD 8
*1 Pin No. 1 of CN1 is used TDA 14
as FG.
The metal shell of the RDA 16
modular jack 2 on the
UG230 is used as SG. RDB 18

DTR 20

TDB 25

* Use shielded twist-pair cables.


2. Allen-Bradley PLC 2-9

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name
Pin No.

SG 5 7 TXD- 1

+SD 1 12 RXD- 2

-SD 2 13 COM 5

+RD 7 24 RXD+ 6
-RD 8 25 TXD+ 9
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
2-10 2. Allen-Bradley PLC

Please use this page freely.


3. Automationdirect PLC 3-1

3. Automationdirect PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


D4-430
RS-232C [Wiring Diagram 1]
D4-440 Port 1 on a CPU unit
RS-422 [Wiring Diagram 5]

Direct LOGIC D4-450 Port 3 on a CPU unit RS-485 [Wiring Diagram 6]


Port 2 on a CPU unit
RS-232C [Wiring Diagram 2]
D2-240 Port 2 on a CPU unit
D2-250 Port 2 on a CPU unit RS-232C [Wiring Diagram 3]
D4-430
RS-232C [Wiring Diagram 1]
D4-440 Port 1 on a CPU unit
RS-422 [Wiring Diagram 5]

Port 0 on a CPU unit RS-232C [Wiring Diagram 4]


D4-450
Direct LOGIC Port 3 on a CPU unit RS-485 [Wiring Diagram 6]
(K-Sequence) Port 2 on a CPU unit
Port 1 on a CPU unit
D2-240 RS-232C [Wiring Diagram 2]
Port 2 on a CPU unit
Port 1 on a CPU unit
D2-250
Port 2 on a CPU unit RS-232C [Wiring Diagram 3]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port “0” for ×10, “1” for ×1 1
Parity Odd Odd

Transmission Data length 8 8


code Stop bit 1 1
Function Host link system (fixed) −
Response delay time 0 (fixed) −
Time-out None (fixed) −
ASCII/HEX HEX (fixed) −
3-2 3. Automationdirect PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


V (data register) 0
X (input relay) 1
Y (output relay) 2
C (internal relay) 3
S (stage) 4
GX (global inputs) 5
GY (global outputs) 6
T (timer/contact) 7
CT (counter/contact) 8

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
3. Automationdirect PLC 3-3

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No. Modular connector 6-pin
Name
Signal
Pin No.
*1 SHELL 1 Name

SD 8 2 SG 1

RD 7 3 RxD 3

RS 4 TxD 4

CS 5 654321

SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No. High density D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 RTS 4

CS 5 CTS 5
SG 5 7 0V 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
3-4 3. Automationdirect PLC

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
PLC
Pin No. Pin No.
Name D-sub 15-pin (male)
Signal
Pin No.
*1 SHELL 1 Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 0V 13

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 SG 7

+SD 1 12 RXD+ 9

-SD 2 13 RXD− 10

+RD 7 24 CTS1+ 11
-RD 8 25 TXD1+ 14
*1 Pin No. 1 of CN1 is used TXD1− 16
as FG.
The metal shell of the RTS1+ 18
modular jack 2 on the
UG230 is used as SG.
RTS1− 19
* Use shielded twist-pair cables.
CTS1+ 23
3. Automationdirect PLC 3-5

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 SG 7

+SD 1 12 TXD3+ 12

-SD 2 13 TXD3− 13

+RD 7 24 RXD3+ 24
-RD 8 25 RXD3− 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables. In case SU-6M, it is possible
as FG. to use terminal blocks.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
3-6 3. Automationdirect PLC

Please use this page freely.


4. Baldor PLC 4-1

4. Baldor PLC

Available PLCs

Select PLC Type Unit/Port Connection


NextMove (Comms Data Array)
Mint RS-232C [Wiring Diagram 1]
Optimum (Comms Data Array)

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 0 0
Parity None None

Transmission Data length 8 8


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


I (integer) 0
F (float) 1
B (integer omitting decimals) 2
4-2 4. Baldor PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No. D-sub 9-pin (female)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RXD 2

RD 7 3 TXD 3
SG 5 7 DTR 4
*1 Pin No. 1 of CN1 is used SG 5
as FG.
The metal shell of the DSR 6
modular jack 2 on the
* Use shielded twist-pair cables.
UG230 is used as SG. 7
RTS
CTS 8
5. DELTA PLC 5-1

5. DELTA PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


DVP series DVP series RS-485 Communication port RS-485 [Wiring Diagram 1]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 1 1
Parity Even Even

Transmission Data length 7 7


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (data register) 0
X (input relay) 1
Y (output relay) 2
M (auxiliary relay) 3
S 4
T (timer) 5
C (counter) 6
32C (high-speed counter) 7
5-2 5. DELTA PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-485
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Pin No. Pin No.
Name

*1 SHELL 1

SG 5 7 PLC

+SD 1 12 +

-SD 2 13 -

+RD 7 24
* Use shielded twist-pair cables.
-RD 8 25
*1 Pin No. 1 of CN1 is used
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
6. FANUC PLC 6-1

6. FANUC PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


Power Mate-Model H/D Port on the CPU unit (JD14) RS-422 [Wiring Diagram 2]

Power Mate JD42 RS-232C [Wiring Diagram 1]


Power Mate i Model H/D
JD40 RS-422 [Wiring Diagram 3]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps (fixed) −
Port 0 (fixed) −
Parity Even (fixed) −

Transmission Data length 8 (fixed) −


code Stop bit 1 (fixed) −

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (data table) 0
X (input relay) 1 WX as word device
Y (output relay) 2 WY as word device
R (internal relay) 3 WR as word device
K (keep relay) 4 WK as word device
T (timer) 5
C (counter) 6
6-2 6. FANUC PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal JD42
Pin No. Pin No.
Name Half-pitch 20-pin
Signal
*1 SHELL 1 Name
Pin No.

SD 8 2 RDB 9

RD 7 3 SDB 17

RS 4 0V 18

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal JD14
Pin No. Pin No. Half-pitch 20-pin
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 RDB 1

+SD 1 12 RDA 2

-SD 2 13 SDB 3

+RD 7 24 SDA 4
-RD 8 25 0V 11
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables. JD15
as FG.
The metal shell of the Signal Pin No.
modular jack 2 on the Name
UG230 is used as SG.
RDB 1
R
RDA 2
R: 120 Ω 1/2W
6. FANUC PLC 6-3

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal JD40
Pin No. Pin No. Half-pitch 20-pin
Name
Signal
*1 SHELL 1 Name
Pin No.

SG 5 7 RXD 1

+SD 1 12 *RXD 2

-SD 2 13 TXD 3

+RD 7 24 *TXD 4
-RD 8 25 RTS 5
*1 Pin No. 1 of CN1 is used *RTS 6
as FG.
The metal shell of the CTS 7
modular jack 2 on the
UG230 is used as SG.
*CTS 8

0V 12
* Use shielded twist-pair cables.
6-4 6. FANUC PLC

Please use this page freely.


7. FATEK AUTOMATION PLC 7-1

7. FATEK AUTOMATION PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


RS-232 [Wiring Diagram 1]
FACON FB series FACON FB series FB-DTBR [Wiring Diagram 2]
RS-422 [Wiring Diagram 3]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Parity Even (fixed) −

Transmission Data length 7 (fixed) −


code Stop bit 1 (fixed) −

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


HR (data register) 0
DR (data register) 1
X (input relay) 2
Y (output relay) 3
M (internal relay) 4
S (step relay) 5
T (timer contact) 6 Read only
C (counter contact) 7 Read only
RT (timer/current value) 8
RC (counter/current value) 9
DRC (32-bit counter/current value) 10
7-2 7. FATEK AUTOMATION PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 RXD1 1

RD 7 3 TXD1 2

RS 4 RTS1 3

CS 5 CTS1 4
SG 5 7 SG 6
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RXD1 2

RD 7 3 TXD1 3

RS 4 RTS1 4

CS 5 CTS1 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
7. FATEK AUTOMATION PLC 7-3

RS-422
Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Pin No. Pin No. PLC
Name
Signal
*1 SHELL 1 Name

SG 5 7 D+

+SD 1 12 D-

-SD 2 13 SG

+RD 7 24
-RD 8 25

*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
7-4 7. FATEK AUTOMATION PLC

Please use this page freely.


8. Fuji Electric FA PLC 8-1

8. Fuji Electric FA PLC

Available PLCs

Ladder
Select PLC Type PLC Unit/Port Connection PLC2Way
Transfer*7
F55 NV1L-RS2 RS-232C [Wiring Diagram 1]

NC1L-RS2 RS-232C [Wiring Diagram 1]


F70, F70S
MICREX-F series NC1L-RS4 RS-485 [Wiring Diagram 5]

F80H, F120H, F120S FFU120B RS-232C [Wiring Diagram 1]


F140S, F15xS FFK120A RS-485 [Wiring Diagram 5]

RS-232C [Wiring Diagram 1]


NS-CPU-xx NS-RS1
RS-485 [Wiring Diagram 5]

NJ-RS2 RS-232C [Wiring Diagram 1]


NJ-CPU-xx
SPB (N mode) and NJ-RS4 RS-485 [Wiring Diagram 5]
FLEX-PC series*1 RS-232C [Wiring Diagram 1]
NBxx NB-RS1
RS-485 [Wiring Diagram 5]

NW0LA-RS2 RS-232C [Wiring Diagram 4]


NW0Pxx
NW0LA-RS4 RS-485 [Wiring Diagram 5]

FLEX-PC CPU port RS-485 cable UG200C-N*3


SPB (N mode) and
NJ-B16 RS-232C port RS-232C [Wiring Diagram 2]
FLEX-PC CPU*2
NW0Pxx CPU port RS-485 cable UG200C-N*3
Computer link
FLEX-PC COM(T) FLEX-PC NJ-JM RS-422 [Wiring Diagram 6]
terminal block

RS-232C [Wiring Diagram 3] *6


NP1L-RS1*5
RS-485 [Wiring Diagram 7]
MICREX-SX NP1Px-xx
SPH/SPB series NP1L-RS2 RS-232C [Wiring Diagram 3] *6
(SPH: IEC/F/N
mode, SPB: IEC NP1L-RS4 RS-485 [Wiring Diagram 7]
mode)
NW0LA-RS2 RS-232C [Wiring Diagram 4]
NW0Pxx
NW0LA-RS4 RS-485 [Wiring Diagram 5]
MICREX-SX NP1Px-xx CPU port RS-485 cable UG00C-S*4
SPH/SPB CPU
(SPH: IEC/F/N
mode, SPB: IEC NW0Pxx CPU port RS-485 cable UG200C-N*3
mode)

*1 To use FLEX-PC of Toyota version, select [FLEX-PC (T)].


*2 To use FLEX-PC CPU of Toyota version, select [FLEX-PC CPU (T)].
*3 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus UG200C-N.
*4 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus UG00C-S.
*5 Only one POD unit can be connected to one link unit except for multi-link 2 connection.
*6 Connection is available only with IEC mode.
*7 For the ladder transfer function, refer to “Appendix 8 Ladder Transfer Function”.
8-2 8. Fuji Electric FA PLC

Model Selection: MICREX-SX


When connecting the MICREX-SX series with a POD, depending on the MICREX-SX programming
tool or its setting, mode setting should be necessary on the POD editor for screen data creation.
1. When creating a PLC program with D300win, select the IEC mode.
2. When creating a PLC program with SX-Programmer Standard with [Express address type in
MICREX-F identifier] unchecked in the [Edit Options] tab window ([Options] → [MICREX-SX
Environment]), select the N mode.
3. When creating a PLC program with SX-Programmer Standard with [Express address type in
MICREX-F identifier] checked in the [Edit Options] tab window ([Options] → [MICREX-SX
Environment]), select the F mode.

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

MICREX-F Series, SPB (N Mode) & FLEX-PC Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 0
Parity Even Even

Transmission RS-232C 1 (General Command Asyn) (fixed) *1 −


mode RS-422 *1 −
3 (General Command Asyn) (fixed)

Transmission Data length 7 (ASCII) 7


code Stop bit 1 1
Terminating resistance at
Provided for RS-485 −
receiver

*1 In the case of the SPB (N mode), select [General Command Asyn] for the communication interface setting
(PLC Functions → System Parameters → General Communication) on the PLC loader.

SPB (N Mode) & FLEX-PC CPU Port


Connect to the CPU port. Communication parameters for the POD are automatically set.

FLEX-PC COM (T) (NJ Computer Link) Toyota Version

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 0
Parity Even Even

Transmission Data length 7 7


code Stop bit 2 2
8. Fuji Electric FA PLC 8-3

MICREX-SX SPH/SPB Series (SPH: IEC Mode, SPB: IEC Mode)

Item Setting on PLC POD Comm. Parameter Setting


Baud rate *1 38400 bps
38400 bps

Transmission RS-232C Mode 1*1 −


mode −
RS-422 Mode 2*1
Parity Even Even
Transmission
Data Length 8 8
code
Stop Bit 1 1

*1 When changing the baud rate, change the transmission mode (MODE) of the PLC communication module.
For more information, refer to the instruction manual for the PLC.

MICREX-SX SPH/SPB CPU Port (SPH: IEC/F/N Mode, SPB: IEC Mode)
Connect to the CPU port. Communication parameters for the POD are automatically set.

MICREX-F Series, SPB (N Mode) & FLEX-PC Series: Switch Setting


MODE switch: RS-232C: 1 RS-485: 3
RS-485 Port Setting SW: “0” for both ×10, ×1
RS-485 terminating resistance: ON
Character switches

No Setting Contents
8 ON Switch Setting
7 ON With parity
6 ON Even
5 ON 7 bits
4 ON 1 bit
3 ON
2 ON Same as that set on POD (normally 19200 bps)
1 OFF

* In the case of the SPB (N mode), set it on the PLC loader.


8-4 8. Fuji Electric FA PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

MICREX-F Series

Memory TYPE Remarks


M (auxiliary relay) 0 WM as word device
K (keep relay) 1 WK as word device
B (input/output relay) 2 WB as word device
L (link relay) 9 WL as word device
F (special relay) 10 WF as word device
TS (timer/set value) 11 *1
TR (timer/current value) 12 *1
W9 (0.1 sec. timer/current value) 13 *1
CS (counter/set value) 14 *1
CR (counter/current value) 15 *1
BD (data memory) 16 *1
WS (step control relay) 17 *2
Wn (file memory) 18 *3 *4

*1 For numerical data format where double-words can be used (Num. Data Display, Graph, Sampling), data is
processed as double-words.
For those where bits or words can be used, data is processed as words consisting of lower 16 bits.
For input: Upper 16 bits are ignored.
For output: “0” is written for upper 16 bits.
*2 Byte device such as step relay is processed as described below.
For input: Upper 8 bits are “0.”
For output: Lower 8 bits are written.
*3 To set up the file memory on the UG00S-CW editor, enter “file Example: W30 : 00002
number” + “: (colon)” + “address” in order.
*4 Define the file area as “SI.” Address
Colon
File number

SPB (N Mode) & FLEX-PC Series, SPB (N Mode) & FLEX-PC CPU Port

Standard Memory Toyota Version TYPE Remarks


D (data register) D 0
W (link register) R 1
M (internal relay) M 2 WM as word device
L (latch relay) K 3 WL (WK) as word device
X (input relay) X 4 WX as word device
Y (output relay) Y 5 WY as word device
R (file register) W 6
TN (timer/current value) TN 7
CN (counter/current value) CN 8
T (timer/contact) T 9
C (counter/contact) C 10
WS (step relay) Not provided 11
8. Fuji Electric FA PLC 8-5

FLEX-PC COM (T) (NJ Computer Link) Toyota Version

Memory TYPE Remarks


D (data register) 0
R (link register) 1
M (internal relay) 2 WM as word device
K (latch relay) 3 WK as word device
X (input relay) 4 WX as word device
Y (output relay) 5 WY as word device
W (file register) 6
TN (timer/current value) 7
CN (counter/current value) 8
T (timer/contact) 9
C (counter/contact) 10
Z (special register) 12
V (special relay) 13 WV as word device

.MICREX-SX Series (IEC Mode), MICREX-SX CPU Port (IEC Mode)


Memory Address TYPE Remarks
I (input memory) *1 - %IX as bit device, %IW as word device, %ID as double-word device
Q (output memory) *1 - %QX as bit device, %QW as word device, %QD as double-word device
M (standard memory) 2 %MX1. as bit device, %MW1. as word device, %MD1. as double-word device
RM (retain memory) 4 %MX3. as bit device, %MW3. as word device, %MD3. as double-word device
%MX10. as bit device, %MW10. as word device, %MD10. as double-word
SM (system memory) 8
device

*1 For the input/output memory, the variable name cooperation function must be used. Indirect designation is not
available with the input/output memory.

For memory assignment, basically use the variable name cooperation function.
It is recommended to define the area (variable) that is used for communications with POD as
“AT.”
For more information on the variable name cooperation function, refer to the User's Manual <Variable
Name Cooperation Function> (FEH363).
When assigning the indirect memory for macro programs, specify the CPU number in the expansion
code.

MICREX-SX Series (N Mode), MICREX-SX CPU Port (N Mode), MICREX-SX Series (F


Mode), MICREX-SX CPU Port (F Mode)

Memory TYPE Remarks


X (input memory) *1 - X as bit device, WX as word device, DX as double-word device
Y (output memory) *1 - Y as bit device, WY as word device, DY as double-word device
M (standard memory) 2 M as bit device, WM as word device, DM as double-word device
L (retain memory) 4 L as bit device, WL as word device, DL as double-word device
SM (system memory) 8 SM as bit device, WSM as word device, DSM as double-word device

*1 Input/output memory does not operate normally unless you import the “*.ini” file created using [Export Device
Information] in the PLC programming tool.
Indirect designation is not available with the input/output memory.

For more information on the importing procedure, refer to the User's Manual <Variable Name
Cooperation Function> (FEH363).
When assigning the indirect memory for macro programs, specify the CPU number in the expansion
code.
8-6 8. Fuji Electric FA PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 25-pin (male)

Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the CD 8
modular jack 2 on the
* Use shielded twist-pair cables.
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
NJ-B16
Signal
Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 CTS 4

CS 5 RTS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
8. Fuji Electric FA PLC 8-7

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 9-pin (male)

Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 ER 4

CS 5 SG 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used RS 7
as FG.
The metal shell of the CS 8
modular jack 2 on the
* Use shielded twist-pair cables.
UG230 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (female)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 SG 5

CS 5 RS 7
SG 5 7 CS 8
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
8-8 8. Fuji Electric FA PLC

RS-485
Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SG 5 7 SDA

+SD 1 12 SDB

-SD 2 13 RDA

+RD 7 24 RDB
-RD 8 25 SG
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal Pin No. Pin No. PLC


Name
Signal
*1 SHELL 1 Name

SG 5 7 +

+SD 1 12 -
-SD 2 13 SG

+RD 7 24
-RD 8 25 * Use shielded twist-pair cables.

*1 Pin No. 1 of CN1 is used


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
8. Fuji Electric FA PLC 8-9

RS-485
Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Name Pin No. Pin No. D-sub 9-pin (female)
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 SDA 2

+SD 1 12 SDB 1

-SD 2 13 RDA 9

+RD 7 24 RDB 8
-RD 8 25 SG 6
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
8-10 8. Fuji Electric FA PLC

Please use this page freely.


9. GE Fanuc PLC 9-1

9. GE Fanuc PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


RS-232C [Wiring Diagram 1]
90 series Series 90-30 Programmable coprocessor (PCM)
RS-485 [Wiring Diagram 2]
Series 90 micro
90 series (SNP-X) CPU port RS-485 [Wiring Diagram 3]
Series 90-30

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

90 Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 01 (“0” for ×10, “1” ×1) 0
Parity Odd Odd

Transmission Data length 8 8


code Stop bit 1 1
Functions Host link function (fixed) −
Response delay time 0 (fixed) −
Timeout None (fixed) −
ASCII/HEX HEX (fixed) −

90 Series SNP-X

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Parity Odd Odd

Transmission Data length 8 8


code Stop bit 1 1
Functions SNP-X (fixed) −
9-2 9. GE Fanuc PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

90 Series

Memory TYPE Remarks


R (data register) 0
I (input) 1
Q (output) 2

90 Series SNP-X

Memory TYPE Remarks


R (data register) 0
I (input) 1
Q (output) 2
M (internal relay) 3
G (global relay) 4
AI (analog input) 5
AQ (analog output) 6
T (temporary memory relay) 7
S (system status) 8 Read only
SA (system status) 9
SB (system status) 10
SC (system status) 11
9. GE Fanuc PLC 9-3

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Name
Pin No.

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 GND 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-485
Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 0V 7

+SD 1 12 SD(A) 9

-SD 2 13 RTS(A) 10

+RD 7 24 CTS(A) 11
-RD 8 25 RD(A) 13
*1 Pin No. 1 of CN1 is used SD(B) 21
as FG.
The metal shell of the RTS(B) 22
modular jack 2 on the
UG230 is used as SG.
CTS(B) 23
120 RT 24

RD(B) 25
* Use shielded twist-pair cables.
9-4 9. GE Fanuc PLC

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 15-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 RTS(A) 6

+SD 1 12 0V 7

-SD 2 13 CTS(B’) 8

+RD 7 24 RT 9
-RD 8 25 RD(A’) 10
*1 Pin No. 1 of CN1 is used RD(B’) 11
as FG.
The metal shell of the SD(A) 12
modular jack 2 on the
UG230 is used as SG.
SD(B) 13

RTS(B) 14

CTS(A’) 15
* Use shielded twist-pair cables.
10. Hitachi PLC 10-1

10. Hitachi PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection PLC2Way


RS-232C [Wiring Diagram 1]
COMM-2H
RS-422 [Wiring Diagram 4]

Peripheral port on the CPU module RS-232C [Wiring Diagram 1]

HIDIC H series PERIPHERAL 1 RS-232C [Wiring Diagram 1]


On H-252C CPU RS-232C [Wiring Diagram 1]
HIDIC-H module +
PERIPHERAL 2
Hitachi’s cable
“CNCOM-05”*1
RS-232C [Wiring Diagram 1]
PORT1
EH150 On CPU module +
PORT2
Hitachi’s cable “EH-RS05”*1
S10 2α Interface on the CPU unit RS-422 [Wiring Diagram 5] *3

HIDIC-S10/2α RS-232C connector on the CPU unit RS-232C [Wiring Diagram 2]


S10 mini
LQE060 RS-232C [Wiring Diagram 3]

HIDIC-S10/4α S10 4α LWE805 RS-422 [Wiring Diagram 5] *3

HIDIC-S10/ABS ABS*2 - RS-422 [Wiring Diagram 5]

HIDIC-S10V S10V CPU LQP510 RS-422 [Wiring Diagram 6]

*1 When using the Hitachi’s cable “EH-RS05” or “CNCOM-05”, connect the cable shown in [Wiring Diagram 1] to
the D-sub 15-pin side for communications with the POD.
*2 Specify the absolute memory address. For more information, refer to the instruction manual for the PLC.
*3 For details, contact your local distributor.

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

HIDIC-H
COMM-2H

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 for both ST No ×10, ×1 0
Parity Even Even

Transmission RS-232C MODE7 Protocol 2 with port


mode RS-422 MODE9 Protocol 2 with port

Transmission Data length 7 (ASCII) 7


code Stop bit 1 1
Sumcheck Provided (fixed) −

If the transmission mode is any type other than listed the above, set the mode as shown below.
10-2 10. Hitachi PLC

Item Setting on PLC POD Comm. Parameter Setting


MODE1 Protocol 1 without port
Transmission RS-232C MODE2 Protocol 1 with port
mode MODE9 Protocol 2 without port
RS-422 MODE2 Protocol 1 with port*1

*1 Multi-link connection is not available.

CPU Module Peripheral Port, EH-150 Port 1/2

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Signal level RS-232C RS-232C
Port 0 0
Parity Even (fixed) Even (fixed)

Transmission Data length 7 (ASCII) (fixed) 7 (fixed)


code Stop bit 1 (fixed) 1 (fixed)
Sumcheck Provided (fixed) −
Port operation Dedicated port −
Communication control
Transmission control protocol 1 Protocol 1 without port
protocol

HIDIC-S10α/2α, HIDIC-S10/4α

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 7 19200 bps

HIDIC-S10V

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps (fixed) 19200 bps (fixed)
Parity Odd (fixed) Odd (fixed)
Transmission mode RS-422 (fixed) RS-422 (fixed)

Transmission Data length 8 (fixed) 8 (fixed)


code Stop bit 1 (fixed) 1 (fixed)
10. Hitachi PLC 10-3

Switch Setting

COMM-2H
Baud rate: 19200 bps
MODE switch: To connect to both RS-232C and RS-422, set MODE switch to 9.
RS-232C (protocol 2 w/o port) RS-422 (protocol 2 with port)
ST No switch: “0” for both ×10, ×1
DIP switch

Switch Setting Contents


1 OFF Bit length 7
2 OFF
3 ON Same as that set on POD (normally 19200 bps)
4 ON
5 ON With parity
6 ON Even
7 OFF Stop bit 1
8 ON With sumcheck

EH-150 PORT1

DIP SW Setting Contents


3 ON
19200 bps
4 OFF
5 ON Dedicated port

Special Internal Output Setting Contents


WRF037 H0000 Transmission control protocol 1, without port, RS-232C

EH-150 PORT2

DIP SW Setting Contents


6 OFF 19200 bps

Special Internal Output Setting Contents


WRF037 H0000 Transmission control protocol 1, without port, RS-232C

* Turn on (PHL High) the port switch.


10-4 10. Hitachi PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

HIDIC-H

Memory TYPE Remarks


WR (internal word output) 0
X (external bit input) 1 WX as word device
Y (external bit output) 2 WY as word device
L (bit CPU link area) 3 WL as word device
M (bit data area) 4 WM as word device
TC (timer counter/elapsed time) 5
R (relay) 6
TD (timer counter/contact) 7
WN (network input/output) 8

HIDIC-S10/2α, HIDIC-S10/4α

Memory TYPE Remarks


FW (work register) 0
X (input relay) 1 XW as word device
Y (output relay) 2 YW as word device
R (internal relay) 3 RW as word device
G (global link) 4 GW as word device
K (keep relay) 5 KW as word device
T (on-delay timer/contact) 6 TW as word device
U (one-shot timer/contact) 7 UW as word device
C (up/down counter/contact) 8 CW as word device
TS (on-delay timer/set value) 9
TC (on-delay timer/elapsed value) 10
US (one-short timer/set value) 11
UC (one-shot timer/elapsed value) 12
CS (up/down counter/set value) 13
CC (up/down counter/elapsed value) 14
DW (data register) 15
E (event register) 16 EW as word device
S (system register) 17 SW as word device
J (transfer register) 18 JW as word device
Q (receive register) 19 QW as word device
M (extensional internal register) 20 MW as word device
10. Hitachi PLC 10-5

HIDIC-S10/ABS

Memory TYPE Remarks


0E 0
06 1
18 2
19 3
1A 4
1B 5
1C 6
1D 7

HIDIC-S10V

Memory TYPE Remarks


FW (work register) 0
X (input relay) 1 XW as word device
Y (output relay) 2 YW as word device
R (internal relay) 3 RW as word device
G (global link relay) 4 GW as word device
K (keep relay) 5 KW as word device
T (on-delay timer/contact) 6 TW as word device
U (one-shot timer/contact) 7 UW as word device
C (up/down counter/contact) 8 CW as word device
TS (on-delay timer/set value) 9
TC (on-delay timer/elapsed value) 10
US (one-shot timer/set value) 11
UC (one-shot timer/elapsed value) 12
CS (up/down counter/set value) 13
CC (up/down counter/elapsed value) 14
DW (data register) 15
E (event register) 16 EW as word device
S (system register) 17 SW as word device
J (transfer register) 18 JW as word device
Q (receive register) 19 QW as word device
M (extensional internal register) 20 MW as word device
LB (work register) 21 LBW as word device
LR (work register 1 for ladder converter) 22 LRW as word device
LV (work register 2 for ladder converter) 23 LVW as word device
LLL (long-word work register) 24 Double-word
LFF (floating-point work register) 25
LWW (word work register) 26
LML (long-work word register) Backup area 27 Double-word
LGF (floating-point work register) Backup area 28
LXW (word work register) Backup area 29
10-6 10. Hitachi PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

POD
CN1
D-sub 25-pin (male)

PLC
Signal Pin No.
Name D-sub 15-pin (male)

Signal
FG 1 Name Pin No.

SD 2 SD 2

RD 3 RD 3

CS 5 RS 4

SG 7 CS 5

DR 7

PHL 8

SG 9

PV12 14
* Use shielded twist-pair cables.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (female)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 SG 5

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
10. Hitachi PLC 10-7

Wiring Diagram 3

UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male) D-sub 9-pin (female)

Signal Signal
Pin No. Pin No. Pin No.
Name Name

*1 SHELL 1 CD 1

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 ER 4

CS 5 SG 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used RS 7
as FG.
The metal shell of the CS 8
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.

RS-422
Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

+SD 1 12 TxDP

-SD 2 13 TxDN

+RD 7 24 RxDP

-RD 8 25 RxDN
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
10-8 10. Hitachi PLC

Wiring Diagram 5
When connecting to the S10xα series, add a resistor of 50 Ω (1/2 W) as shown below.
UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

+SD 1 12 UTX H

-SD 2 13 UTX L

+RD 7 24 50 URX H
-RD 8 25 50 URX L
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male) PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

+SD 1 12 -RD 1

-SD 2 13 +RD 2

+RD 7 24 +SD 3
-RD 8 25 -SD 4
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
11. IDEC PLC 11-1

11. IDEC PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


RS-232C
IDEC cable “FC2A-KC1”
MICRO3 MICRO3 Loader port or
IDEC cable “FC2A-KC1” *
+ [Wiring Diagram 1]
RS-232C
MICRO Smart MICRO Smart Loader port IDEC cable “FC2A-KC4C”
+ [Wiring Diagram 1]

* When using RS-232C cable “FC2A-KC2” made by IDEC, connect the cable shown in [Wiring Diagram 1] to the
D-sub 9-pin side of the FC2A-KC2 cable for communications with the POD.

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 1 1
Parity Even Even

Transmission Data length 7 7


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (data register) 0
I (input) 1
Q (output) 2
M (internal relay) 3
R (shift register) 4
TS (timer/set value) 5
TN (timer/enumerated value) 6
T (timer/contact) 7 Read only
CS (counter/set value) 8
CN (counter/enumerated value) 9
C (counter/contact) 10 Read only
11-2 11. IDEC PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male) D-sub 9-pin (male)

Signal Signal
Name Pin No. Pin No. Pin No.
Name

*1 SHELL 1 CD 1

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 ER 4

CS 5 GND 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used RS 7
* Use shielded twist-pair cables.
as FG.
The metal shell of the CS 8
modular jack 2 on the
UG230 is used as SG.
12. KEYENCE PLC 12-1

12. KEYENCE PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


Port 1
RS-232C [Wiring Diagram 1]
KZ300 Port 2
KZ series link KZ-L2
KZ350
RS-232C [Wiring Diagram 2]
RS-422 [Wiring Diagram 7]

RS-232C [Wiring Diagram 3]


RS-422
KZ-A500CPU CPU modular port KEYENCE’s cable “KZ-C20”
+
Our cable “UG200C-M”*1
KZ-A500
Port 1
RS-232C [Wiring Diagram 4]
MITSUBISHI A series link KZ-L10 Port 2
RS-232C [Wiring Diagram 2]
RS-422 [Wiring Diagram 7]

KZ-10, 16, 24, 40, 80, 300, 350*2


KZ/KV series CPU CPU modular port
KZ/KV series*3 RS-232C [Wiring Diagram 5]
or
KZ24/300CPU *2 CPU modular port
KZ-24, 300 KEYENCE’s cable “OP-26487”
+
KV10/24CPU KV-10, 24*3 CPU modular port KEYENCE’s connector “OP-26485”
CPU modular port
Port 1
RS-232C [Wiring Diagram 6]
KV-700 KV-700 KV-L20 Port 2
KV-L20R
RS-232C [Wiring Diagram 2]
RS-422 [Wiring Diagram 7]

RS-232C [Wiring Diagram 5]


or
CPU modular port KEYENCE’s cable “OP-26487”
+
KEYENCE’s connector “OP-26485”
KV-1000 KV-1000
Port 1
RS-232C [Wiring Diagram 6]
KV-L20R Port 2
RS-232C [Wiring Diagram 2]
RS-422 [Wiring Diagram 7]

*1 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus KZ-C20 and UG00C-Q.
*2 To connect KZ-24, 300 via RS-232C, select [KZ24/300CPU] for the PLC type on the editor.
*3 To connect KZ-10, 24 via RS-232C, select [KV10/24CPU] for the PLC type on the editor.
12-2 12. KEYENCE PLC

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

KZ Series Link

Item Setting on PLC POD Comm. Parameter Setting


Port 0 0
Baud rate 19200 bps 19200 bps
Parity Even Even

Transmission Data length 7 (ASCII) 7


code Stop bit 2 2
Terminating resistance ON for RS-422 −
Operation mode Link mode −

Set the port with the port setting switch, the terminating resistance with terminator, and the baud
rate/data bit/parity/stop bit with SET B DIP switches.

KZ-A500 CPU (CPU Modular Port)

Item Setting on PLC POD Comm. Parameter Setting


Port 0 0
Baud rate 9600 bps 9600 bps*1
Parity Odd Odd

Transmission Data length 8 8


code Stop bit 1 1
Terminating resistance ON for RS-422 −

*1 For signal level RS-422, baud rate is fixed to 9600 bps.

MITSUBISHI A Series Link (Link Unit KZ-L10)

Item Setting on PLC POD Comm. Parameter Setting


Port 0 0
Baud rate 19200 bps 19200 bps
Parity Even Even

Transmission Data length 7 7


code Stop bit 1 1
Sumcheck Provided (fixed) −
Terminating resistance ON for RS-422 −
Communication type Normal communication −
Transmission mode Protocol code 1 Trans. Mode 1

Set the port with the port setting switch, the terminating resistance with terminator, and the baud rate/
data bit/parity/stop bit with SET B DIP switches.
For more information, refer to the instruction manual for KZ-L10.

KZ/KV Series
Communication parameters for the POD are automatically set.
12. KEYENCE PLC 12-3

KZ24/300 CPU

Item Setting on PLC POD Comm. Parameter Setting


Port 0 0
Baud rate 38400 bps 38400 bps*1
Parity Even −

Transmission Data length 8 −


code Stop bit 1 −

*1 Maximum baud rate available is 38400 bps. If a higher baud rate is selected, communications are performed
at 9600 bps.

KV10/24 CPU

Item Setting on PLC POD Comm. Parameter Setting


Port 0 0
Baud rate 57600 bps 57600 bps*1
Parity Even −

Transmission Data length 8 −


code Stop bit 1 −

*1 Maximum baud rate available is 57600 bps. If a higher baud rate is selected, communications are performed
at 9600 bps.

KV-700/KV-1000

Item Setting on PLC*2 POD Comm. Parameter Setting


Port 0 0

Baud rate*1 9600 bps 9600 bps


Parity Even −

Transmission Data length 8 −


code Stop bit 1 −

*1 Maximum baud rate available is 57600 bps for KV-700 and 115200 for KV-1000.
Select the appropriate baud rate depending on the used PLC and environment.
*2 When using KV-L20R, select [Unit Setting] → [Operation Mode] → [KV BUILDER/KV STUDIO Mode] on the
ladder tool software.
12-4 12. KEYENCE PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

KZ Series Link

Memory TYPE Remarks


DM (data memory) 0
CH (input/output relay) 1

KZ-A500 CPU, MITSUBISHI A Series Link

Memory TYPE Remarks


D (data register) 0
W (link register) 1
R (file register) 2
TN (timer/current value) 3
CN (counter/current value) 4
M (internal relay) 6
L (latch relay) 7
B (link relay) 8
X (input relay) 9
Y (output relay) 10
TS (timer/contact) 11
TC (timer/coil) 12
CS (counter/contact) 13
CC (counter/coil) 14

KZ/KV Series CPU, KZ24/300 CPU, KV10/24 CPU

Memory TYPE Remarks


DM (data memory) 0
CH (input/output relay) 1
TC (timer/current value) 2
CC (counter/current value) 3
TS (timer/set value) 4
CS (counter/set value) 5
T (timer/contact) 6
C (counter/contact) 7
TM (temporary data memory) 8
12. KEYENCE PLC 12-5

KV-700, KV-1000

Memory TYPE Remarks


DM (data memory) 0
CH (input/output/internal auxiliary/special relay) 1
TC (timer/current value) 2
CC (counter/current value) 3
TS (timer/set value) 4
CS (counter/set value) 5
T (timer/contact) 6
C (counter/contact) 7
TM (temporary data memory) 8
CTH (high-speed counter/current value) 9
CTC (high-speed counter comparator/set value) 10
CT (high-speed counter comparator/contact) 11
CR (control relay) 12
CM (control memory) 13
MR (internal auxiliary relay) 14 KV-1000 only
LR (latch relay) 15 KV-1000 only
EM (extended data memory 1) 16 KV-1000 only
FM (extended data memory 2) 17 KV-1000 only
Z (index register) 18 KV-1000 only
12-6 12. KEYENCE PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Pin No. Pin No. PLC
Name
Signal
*1 SHELL 1 Name

SD 8 2 SD

RD 7 3 RD

RS 4 SG

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
12. KEYENCE PLC 12-7

Wiring Diagram 3

UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male) Modular Connector 6-pin

Signal Signal
Pin No. Pin No. Pin No.
Name Name

*1 SHELL 1 CS 1

SD 8 2 SD 3

RD 7 3 SG 4

RS 4 RD 5

CS 5 RS 6
SG 5 7 123456

*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2
RD 7 3 RD 3
RS 4 RS 4
CS 5 CS 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the * Use shielded twist-pair cables. CD 8
modular jack 2 on the
UG230 is used as SG.
12-8 12. KEYENCE PLC

Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. Modular jack, 6-pin
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RD 3

RD 7 3 SG 4

RS 4 SD 5

CS 5 123456

SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No. D-sub 9-pin (female)
Name
Signal Pin No.
*1 SHELL 1 Name

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 SG 5

CS 5 RS 7
SG 5 7 CS 8
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
12. KEYENCE PLC 12-9

RS-422
Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SG 5 7 SDB

+SD 1 12 SDA

-SD 2 13 RDB

+RD 7 24 RDA
-RD 8 25 SG
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
12-10 12. KEYENCE PLC

Please use this page freely.


13. KOYO ELECTRONICS PLC 13-1

13. KOYO ELECTRONICS PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


RS-232C [Wiring Diagram 1]
SU-5/5E/6B/5M/6M U01-DM
RS-422 [Wiring Diagram 3]
SU-5E/6E RS-232C [Wiring Diagram 1]
Universal port 1 on CPU
RS-422 [Wiring Diagram 7]

SU-5M/6M Universal port 3 on CPU RS-485 [Wiring Diagram 8]


Universal port 2 on CPU RS-232C *1
KOYO’s programmer
connecting cable S-30JG-E
PORT2 on CPU +
SZ-4
(universal communication port) KOYO’s conversion
connector cable S-15CNJ
*1
RS-232C
SU/SG
KOYO’s programmer
connecting cable S-30JG-E
PORT2 on CPU +
SZ-4M KOYO’s conversion
(universal communication port)
connector cable S-15CNJ
+
KOYO’s conversion
connector S-15HCNP1
RS-232C [Wiring Diagram 1]
G01-DM
RS-422 [Wiring Diagram 4]
SG-8
RS-232C [Wiring Diagram 1]
Port on CPU
RS-422 [Wiring Diagram 4]
Universal communication port on the CPU RS-232C [Wiring Diagram 2]
PZ3
unit RS-485 [Wiring Diagram 6]
RS-232C [Wiring Diagram 1]
U01-DM
RS-422 [Wiring Diagram 3]
SR-T SR-6T (Toyota version)
RS-232C [Wiring Diagram 1]
G01-DM
RS-422 [Wiring Diagram 4]
SR-T (K Prt) SR-1T (Toyota version) Terminal block on the CPU unit RS-422 [Wiring Diagram 5]
SU-5E/6B RS-232C [Wiring Diagram 1]
Universal port 1 on CPU
RS-485 [Wiring Diagram 7]
*1
RS-232C
Programmer port on CPU KOYO’s programmer
SU-5M/6M connecting cable S-30JG-E
Universal port 3 on CPU RS-485 [Wiring Diagram 8]
Universal port 2 on CPU *1
RS-232C
PORT1 on CPU (programmer port) KOYO’s programmer
SZ-4 connecting cable S-30JG-E
SU/SG PORT2 on CPU +
(K-Sequence) (universal communication port) KOYO’s conversion
PORT1 on CPU (programmer port) connector cable S-15CNJ

RS-232C *1
KOYO’s programmer
connecting cable S-30JG-E
SZ-4M PORT2 on CPU +
(universal communication port) KOYO’s conversion
connector cable S-15CNJ
+
KOYO’s conversion
connector S-15HCNP1

*1 When connecting to MJ2 on the UG230, use an UG30C-J adaptor plus the designated cables.
13-2 13. KOYO ELECTRONICS PLC

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port [0] × 10, [1] × 1 1
Parity Odd Odd

Transmission Data length 8 8


code Stop bit 1 1
Functions Host link function (fixed) −
Response delay time 0 (fixed) −
Timeout None (fixed) −
ASCII/HEX HEX (fixed) −

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

SU/SG, SU/SG (K-Sequence)

Memory TYPE Remarks


R (data register) 0
I (input relay) 1
Q (output relay) 2
M (internal relay) 3
S (stage) 4
GI (global input) 5
GQ (global output) 6
T (timer/contact) 7
C (counter/contact) 8

SR-T/SR-T (K Prt)

Memory TYPE Remarks


D (data register) 0
X (input relay) 1 Common to X/Y
Y (output relay) 2 Common to X/Y
M (internal relay) 3
S (stage) 4
K (keep relay) 5
L (link relay) 6
T (timer/contact) 7
C (counter/contact) 8
13. KOYO ELECTRONICS PLC 13-3

Switch Setting

U-01DM
On-line/Off-line switch: On-line
UNIT ADR switch: “0” for ×10, “1” for ×1
SW4 DIP switch:

No Setting Contents
1 ON
Same as that set on POD
2 ON
Normally 19200 bps
3 ON
4 ON With parity
5 OFF Self-diagnosis
6 OFF
Response delay time
7 OFF
0 msec
8 OFF

SW5 DIP switch:

No Setting Contents
1 OFF Master/slave control
2 OFF Slave
3 OFF Communication timeout
4 OFF HEX mode
13-4 13. KOYO ELECTRONICS PLC

G-01DM
On-line/Off-line switch: On-line
Short plug 1: open
Short plug 2: RS-232C . . . . . ENABLE
RS-422 . . . . . . DISENABLE
SW1 DIP switch:

No Setting Contents
1 ON
2 OFF
3 OFF
4 OFF Unit No. 1
5 OFF
6 OFF
7 OFF
8 OFF 1:N
9 OFF Slave

SW2 DIP switch:

No Setting Contents
1 ON
Same as that set on POD
2 ON
Normally 19200 bps
3 ON
4 ON With parity
5 OFF Self-diagnosis
6 OFF Turn-around delay
7 OFF
Response delay time 0 msec
8 OFF
9 OFF HEX mode
13. KOYO ELECTRONICS PLC 13-5

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. High-density D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 RTS 4

CS 5 CTS 5
SG 5 7 0V 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
13-6 13. KOYO ELECTRONICS PLC

RS-422
Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 0V 7

+SD 1 12 +RTS 10

-SD 2 13 −RTS 11

+RD 7 24 +CTS 12
-RD 8 25 −CTS 13
*1 Pin No. 1 of CN1 is used +OUT 14
as FG.
The metal shell of the
modular jack 2 on the
−OUT 15
UG230 is used as SG.
−IN 16

+IN 17
* Use shielded twist-pair cables. −IN 24
150 +IN 25

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name
Pin No.

SG 5 7 0V 7
+SD 1 12 +OUT 14
-SD 2 13 −OUT 15
+RD 7 24 −IN 16
-RD 8 25 +IN 17
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
13. KOYO ELECTRONICS PLC 13-7

Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SG 5 7 FG

+SD 1 12 T1

-SD 2 13 T2

+RD 7 24 T3
-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. High-density D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Name
Pin No.

SG 5 7 RXD− 6

+SD 1 12 0V 7

-SD 2 13 TXD+ 9

+RD 7 24 TXD− 10
-RD 8 25 RTS+ 11
*1 Pin No. 1 of CN1 is used RTS− 12
as FG.
The metal shell of the RXD+ 13
modular jack 2 on the
UG230 is used as SG. CTS+ 14
* Use shielded twist-pair cables.
CTS− 15
13-8 13. KOYO ELECTRONICS PLC

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Name Pin No. Pin No.

Signal
*1 SHELL 1 Name
Pin No.

SG 5 7 SG 7

+SD 1 12 RXD+ 9

-SD 2 13 RXD- 10

+RD 7 24 CTS1+ 11
-RD 8 25 TXD1+ 14
*1 Pin No. 1 of CN1 is used TXD1- 16
as FG.
The metal shell of the RTS1+ 18
modular jack 2 on the
UG230 is used as SG.
RTS1- 19
* Use shielded twist-pair cables.
CTS1+ 23

Wiring Diagram 8

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 SG 7

+SD 1 12 TXD3+ 12

-SD 2 13 TXD3- 13

+RD 7 24 RXD3+ 24
-RD 8 25 RXD3- 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables. SU-6M:
as FG. Terminal block connectable
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
14. LG PLC 14-1

14. LG PLC

Available PLCs

Select PLC Type PLC Connection


MASTER-K10/60/200 K10/60/200 RS-232C [Wiring Diagram 1]

RS-232C [Wiring Diagram 2]


MASTER-K500/1000 K500/1000
RS-422 [Wiring Diagram 6]

MASTER-KxxxS K200S/K300S/K1000S CPU port RS-232C [Wiring Diagram 3]


MASTER-KxxxS CNET K4F-CUEA RS-232C [Wiring Diagram 4]
GLOFA CNET G4L-CUEA RS-422 [Wiring Diagram 7]

GLOFA GM series CPU GM4/GM6/GM7 CPU port RS-232C [Wiring Diagram 5]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

MASTER-K10/60/200

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps (fixed) −
Parity None (fixed) −

Transmission Data length 8 (fixed) −


code Stop bit 1 (fixed) −

MASTER-K500/1000

Item Setting on PLC POD Comm. Parameter Setting


Baud rate *1 19200 bps
19200 bps
Parity None (fixed) −

Transmission Data length 8 (fixed) −


code Stop bit 1 (fixed) −

*1 For signal level RS-422, baud rate is fixed to 9600 bps.

MASTER-KxxxS

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 38400 bps 38400 bps
Parity None (fixed) −

Transmission Data length 8 (fixed) −


code Stop bit 1 (fixed) −
14-2 14. LG PLC

MASTER-KxxxS CNET / GLOFA CNET / GM Series CPU

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 38400 bps 38400 bps
Parity Not provided Not provided

Transmission Data length 8 8


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

MASTER-K10/60/200

Memory TYPE Remarks


D (data register) 0
M (auxiliary relay) 1
P (input/output relay) 2 Input: Read only
K (keep relay) 3
TC (timer/current value) 4
CC (counter/current value) 5
TS (timer/set value) 6
CS (counter/set value) 7

MASTER-K500/1000

Memory TYPE Remarks


P (input/output relay) 0 Input: Read only
M (auxiliary relay) 1
L (link relay) 2
K (keep relay) 3
F (special relay) 4 Read only
T (timer/current value) 5
C (counter/set value) 6
D (data register) 7
14. LG PLC 14-3

MASTER-KxxxS

Memory TYPE Remarks


P (input/output relay) 0 Input: Read only
M (auxiliary relay) 1
L (link relay) 2
K (keep relay) 3
F (special relay) 4 Read only
T (timer/current value) 5
C (counter/set value) 6
D (data register) 7
TC (timer/contact) 9
CC (counter/contact) 10

MASTER-KxxxS CNET

Memory TYPE Remarks


P (input/output relay) 0 PW as word device, input: read only
M (auxiliary relay) 1 MW as word device
L (link relay) 2 LW as word device
K (keep relay) 3 KW as word device
F (special relay) 4 FW as word device, read only
T (timer/current value) 5
C (counter/setting value) 6
D (data register) 7
TC (timer/contact) 9
CC (counter/contact) 10

GLOFA CNET / GM Series CPU

Memory TYPE Remarks


M (internal memory) 0 MW as word device
Q (output) 1 QW as word device
I (input) 2 IW as word device
14-4 14. LG PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RXD 2

RD 7 3 TXD 3
SG 5 7 GND 5
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TXD 2

RD 7 3 RXD 3
SG 5 7 GND 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
14. LG PLC 14-5

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 RXD 2

RD 7 3 TXD 3

RS 4 GND 5

CS 5 RTS 7
SG 5 7 CTS 8
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male) D-sub 25-pin (male)

Signal Signal
Pin No. Pin No. Pin No.
Name Name

*1 SHELL 1 CD 1

SD 8 2 RXD 2

RD 7 3 TXD 3

RS 4 DTR 4

CS 5 GND 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
RTS 7
as FG.
The metal shell of the CTS 8
modular jack 2 on the
UG230 is used as SG.
14-6 14. LG PLC

Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RXD 4

RD 7 3 SG 5
SG 5 7 TXD 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

+SD 1 12 SD+ 10

-SD 2 13 SD- 11

+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
14. LG PLC 14-7

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Name Pin No. Pin No.

Signal
*1 SHELL 1 Name

SG 5 7 SG

+SD 1 12 RDA
-SD 2 13 RDB
+RD 7 24 SDA
-RD 8 25 SDB
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
14-8 14. LG PLC

Please use this page freely.


15. Matsushita Electric Works PLC 15-1

15. Matsushita Electric Works PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection PLC2Way


FP1 RS-232C port on the CPU unit RS-232C [Wiring Diagram 1]

AFP3462 (communication unit) RS-232C [Wiring Diagram 1]


FP3
AFP3463 (C-NET link unit) RS-422 [Wiring Diagram 6]

FP5 AFP5462 (communication unit) RS-232C [Wiring Diagram 1]

RS-232C port on the CPU unit RS-232C [Wiring Diagram 1]


FP10
AFP5462 (communication unit) RS-232C [Wiring Diagram 1]

RS-232C port on the CPU unit RS-232C [Wiring Diagram 1]

FP10S AFP3462 (communication unit) RS-232C [Wiring Diagram 1]

AFP3463 (C-NET link unit) RS-422 [Wiring Diagram 6]


Matsushita’s RS-232C cable
RS-232C tool port on the CPU unit
FP0 “AFC8513”*1
RS-232C port on the CPU unit RS-232C [Wiring Diagram 3]

MEWNET Matsushita’s RS-232C cable


RS-232C tool port on the CPU unit
FP2 “AFC8513”*1
RS-232C port on the CPU unit RS-232C [Wiring Diagram 2]
Matsushita’s RS-232C cable
RS-232C tool port on the CPU unit
“AFC8513”*1
AFPG801 COM1 RS-232C [Wiring Diagram 4]

FPΣ AFPG802 COM1, 2 RS-232C [Wiring Diagram 5]

AFPG803 COM1 RS-485 [Wiring Diagram 7]

COM2 RS-232C [Wiring Diagram 3]


AFPG806
COM1 RS-485 [Wiring Diagram 6]
Matsushita’s RS-232C cable
RS-232C tool port on the CPU unit
“AFC8513”*1
FP-e
RS-232C [Wiring Diagram 3]
COM port
RS-485 [Wiring Diagram 7]

*1 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus AFC8513.


15-2 15. Matsushita Electric Works PLC

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port [0] × 10, [1] × 1 1
Parity Even Even

Transmission Data bit 7 (ASCII) 7


code Stop bit 1 1
Transmission mode Computer link function (fixed) −
Control signal Invalid (fixed) −

* If a tool port (the ladder port for RS-232C) is used, the range of PLC parameter setting is limited as
below. Adjust the PLC parameter setting to communication parameter setting of the POD.
• Baud rate: 9600, 19200 bps (maximum 115200 bps available with FP2)
• Parity: Odd (fixed)
• Data bit: 8 (or 7)
• Stop bit: 1 (fixed)

DIP Switch Setting

AFP3462, AFP5462 (Communication Unit)

Switch Setting Contents


1 ON
2 OFF Same as that set on POD (normally 19200 bps)
3 OFF
4 OFF Data length: 7 bits
5 ON With parity
6 ON Even
7 OFF Stop bit 1
8 OFF CS, CD invalid

AFP3463 (C-NET Link Unit)

Switch Setting Contents


1 OFF Same as that set on POD (normally 19200 bps)
2 OFF Data length: 7 bits
3 ON With parity
4 ON Even
5 OFF Stop bit 1
6 OFF -
7 OFF -
8 OFF -
15. Matsushita Electric Works PLC 15-3

FP10, FP10S (RS-232C on the CPU Unit)

Switch Setting Contents


4 OFF Same as that set on POD (normally 19200 bps)
5 OFF Data length: 7 bits
6 ON With parity
7 ON Even
8 OFF Stop bit 1

System Register Setting

Tool Port
FP0/FP2/FP-e

System Register *1 Contents


411 Data length 7 bits
414 Baud rate 19200 *2

*1 For FP0, system register setting is enabled in the RUN mode.


*2 For FP2, baud rate setting is enabled when DIP switch 1 is off on the back of the CPU unit.

FPΣ

System Register *1 Contents


Data length 7 bits
413 Parity Even
Stop bit 1
414 Baud rate 19200

*1 System register setting is enabled in the RUN mode.

COM Port
FP1/FP0/FP2/FP-e

System Register *1 Contents


412 Transfer selection Computer link
Data length 7 bits
Parity Even
413 Stop bit 1
End code*2 CR
Start code*2 without STX
414 Baud rate 19200

*1 For FP1/FP0, system register setting is enabled in the RUN mode.


*2 For FP2/FP-e, end and start code settings are disabled.
15-4 15. Matsushita Electric Works PLC

FPΣ

System Register *1
Contents
COM1 COM2
410 411 Unit No. 1 *3
412 Transfer selection Computer link
Data length 7 bits
413 414 Parity Even
Stop bit 1
415 Baud rate 19200 *2

*1 System register setting is enabled in the RUN mode.


*2 For AFPG806 COM1, DIP switch setting is also required.
SW1-2 OFF: 19200 bps, ON: 115 kbps
*3 In addition to system register setting, unit number setting is also possible with the port setting switch. For more
information, refer to the corresponding PLC manual.

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


DT (data register) 0
X (external input relay) 1 WX as word device, read only
Y (external output relay) 2 WY as word device
R (internal relay) 3 WR as word device, including special relays
L (link relay) 4 WL as word device
LD (link register) 5
FL (file register) 6
SV (timer/counter set value) 7
EV (timer/counter elapsed time) 8
T (timer/contact) 9 Read only
C (counter/contact) 10 Read only
15. Matsushita Electric Works PLC 15-5

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 SD 2

RD 7 3 RD 3
RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used CD 8
as FG.
The metal shell of the * Use shielded twist-pair cables. ER 9
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 9-pin (male)

Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3
RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
15-6 15. Matsushita Electric Works PLC

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Name
Pin No. Pin No. PLC
Signal
*1 SHELL 1 Name

SD 8 2 SD

RD 7 3 RD
RS 4 SG

CS 5
SG 5 7

*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SD 8 2 SD

RD 7 3 RD
RS 4 RS

CS 5 CS
SG 5 7 SG
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
15. Matsushita Electric Works PLC 15-7

Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male) PLC
Signal Pin No. Pin No.
Name COM1 COM2
Signal Signal
*1 SHELL 1 Name Name

SD 8 2 S1 S2

RD 7 3 R1 R2
RS 4 SG SG

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

+SD 1 12 +

-SD 2 13 -
+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
15-8 15. Matsushita Electric Works PLC

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Name
Pin No. Pin No. PLC
Signal
*1 SHELL 1 Name

+SD 1 12 +
-SD 2 13 -

+RD 7 24 -
Terminal station
-RD 8 25 E
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
16. MITSUBISHI ELECTRIC PLC 16-1

16. MITSUBISHI ELECTRIC PLC

Available PLCs

A Series Link, QnA Series Link, QnH (Q) Series Link, A Link + Net10*1

Select PLC Type CPU Unit/Port Connection PLC2Way


AJ71C24-S6
A2A, A3A AJ71C24-S8
AJ71UC24 RS-232C [Wiring Diagram 2]

A2U, A3U, A4U AJ71UC24


AJ71C24
A1, A2, A3 AJ71C24-S3
A1N, A2N, A3N AJ71C24-S6
A3H, A3M, A73 AJ71C24-S8 RS-422 [Wiring Diagram 5]
AJ71UC24
A0J2, A0J2H A0J2C214-S1
A1SJ71UC24-R2 RS-232C [Wiring Diagram 1]
A series link
A2US A1SJ71UC24-R4 RS-422 [Wiring Diagram 5]
A1SJ71UC24-PRF RS-232C [Wiring Diagram 1]
A1SJ71C24-R2 RS-232C [Wiring Diagram 1]
A1S, A1SJ, A2S A1SJ71C24-R4 RS-422 [Wiring Diagram 5]
A1SJ71C24-PRF RS-232C [Wiring Diagram 1]
A2CCPUC24 CPU built-in link port RS-232C [Wiring Diagram 1]
A1SJ71UC24-R2 RS-232C [Wiring Diagram 1]
QnH (A mode)
A1SJ71UC24-R4 RS-422 [Wiring Diagram 5]
RS-232C [Wiring Diagram 2]
AJ71QC24N
RS-422 [Wiring Diagram 5]
RS-232C [Wiring Diagram 2]
AJ71QC24
Q2A, Q3A, Q4A RS-422 [Wiring Diagram 5]
QnA series link
Q2ASx RS-232C [Wiring Diagram 1]
A1SJ71QC24
RS-422 [Wiring Diagram 5]
AJ71QC24-R4(CH1) RS-422 [Wiring Diagram 6]
AJ71QC24-R4(CH2) RS-422 [Wiring Diagram 5]
QnH (Q mode) QJ71C24 RS-232C [Wiring Diagram 1]
Q00, Q01, Q00J QJ71C24N RS-422 [Wiring Diagram 5]
QnH (Q) series link
RS-232C
Q00, Q01 Tool port*2
Our cable “UG00C-Q”*3
A link + Net10 Standard type link +unit for A series link*1

*1 For more information on A link + Net10, refer to page 16-14.


*2 For notes on the connection between the tool port of a Q00/Q01 CPU and the POD using the serial
communication function, refer to page 16-4.
For the description of the ladder transfer function, refer to “Appendix 8 Ladder Transfer Function”.
*3 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus UG00C-Q.
16-2 16. MITSUBISHI ELECTRIC PLC

A Series CPU, QnA Series CPU, QnH Series CPU, Q00J/00/01 CPU
Select PLC Type CPU Unit/Port Connection PLC2Way
A2A, A3A
A2U, A3U, A4U
A2US(H)
A1N, A2N, A3N
A3V, A73 RS-422
A series CPU
A3H, A3M Our cable “UG200C-M”
A0J2H Tool port*1 or
A1S(H), A1SJ(H), A2S(H) [Wiring Diagram 7]
A2CCPUC24
A1FX
Q2A, Q3A, Q4A
QnA series CPU
Q2AS(H)
QnH (A) series CPU Q06H-A Tool port
Q02, Q02H
QnH (Q) series Q06H
CPU Q12H Tool port*2 RS-232C
Q25H Our cable “UG00C-Q”*3
Q00J
Q00J/00/01 CPU Q00 Tool port
Q01

*1 For more information of UG00P-DI (dual port interface), refer to page 16-16.
*2 For the ladder transfer function used when directly connecting the QnH series CPU, refer to “Appendix 8
Ladder Transfer Function”.
*3 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus UG00C-Q.

FX Series
Select PLC Type CPU Unit/Port Connection PLC2Way
RS-232C
Our cable “UG00C-X”
RS-422
FX1/2 Tool port*1 Our cable “UG200C-M”
FX series CPU
or
[Wiring Diagram 7]
FX0N RS-422
FX2N/1N Our cable “UG00C-E”*2
FX2N series CPU or
FX2NC Tool port*1 our cable “UG200C-M”
+
FX1S series CPU FX1S MITSUBISHI’s conversion
cable “FX-20P-CADP”
FX2N-232-BD RS-232C [Wiring Diagram 3]

FX2N FX2N-485-BD RS-485 [Wiring Diagram 8]


RS-422 Our cable
FX2N-422-BD
“UG00C-E”*2
FX1N-232-BD RS-232C [Wiring Diagram 3]
FX1N FX1N-485-BD RS-485 [Wiring Diagram 8]
FX series link
FX1S
(A Prt) RS-422 Our cable
FX1N-422-BD
“UG00C-E”*2
FX0N-232ADP RS-232C [Wiring Diagram 4]
FX0N
FX0N-485ADP RS-485 [Wiring Diagram 8]
FX0N-232ADP RS-232C [Wiring Diagram 4]
FX2NC
FX0N-485ADP RS-485 [Wiring Diagram 8]
16. MITSUBISHI ELECTRIC PLC 16-3

Select PLC Type CPU Unit/Port Connection PLC2Way


RS-422
Our cable “UG00C-E”*2
FX-3UC Series or
CPU
FX-3UC Tool port*1 Our cable “UG200C-M”
+
MITSUBISHI’s conversion
cable “FX-20P-CADP”

*1 For more information of UG00P-DI (dual port interface), refer to page 16-16.
For the ladder transfer function used when directly connecting the FX series CPU, refer to page App8-1.
*2 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus UG00C-E.

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

A Series Link

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 for both stations ×10, ×1 0
Parity Even Even
Transmission RS-232C MODE1 Trans. Mode 1
mode*1 RS-422 MODE5 Trans. Mode 1

Transmission Data length 7 7


code Stop bit 1 1
Sumcheck Provided (fixed) −
Write while running Possible (fixed) −
Terminating resistance at
Provided (fixed) −
sender
Terminating resistance at
Provided (fixed) −
receiver

*1 Trans. Mode 1: without CR/LF, Trans. Mode 4: with CR/LF


If [Trans. Mode 4] is selected for [Trans. Mode] in the [Comm. Parameter] dialog of the POD, select [MODE4] in
the case of RS-232C, or [MODE8] in the case of RS-422.

QnA Series Link, QnH (Q) Series Link

Item Setting on PLC POD Comm. Parameter Setting


Baud rate* 19200 bps 19200 bps
Port 0 for both stations ×10, ×1 0
Parity Even Even

RS-232C QnA series link:


Transmission MODE5 (binary mode) (fixed)

mode QnH (Q) series link:
RS-422 MC protocol 5 (fixed)

Transmission Data length 8 (fixed) −


code Stop bit 1 1
Sumcheck Provided (fixed) −
Write while running Possible (fixed) −

* The maximum baud rate available with the POD is 115200 bps. (57600 bps with UG221/220)
Select the appropriate baud rate depending on the used PLC and environment.
16-4 16. MITSUBISHI ELECTRIC PLC

Connection to Q00/Q01 CPU


When connecting the tool port of a Q00/Q01 CPU and the POD using the PLC serial communication
function, the following setting is required.
UG00S-CW Setting
Select [QnH(Q) series link] in the [Select PLC Type] dialog.
GX Developer (MITSUBISHI programming software)
1. Double-click [PLC Parameter].
2. In the [Qn(H) Parameter] dialog, click the [Serial] tab.
3. Check [Use serial communication]. Set the options such as a baud rate.

Be sure to check these boxes.

Set the POD communication


parameters as shown in this box.

A Series CPU, QnA Series CPU


Communication parameters for the POD are automatically set.

QnH (A) Series CPU, QnH (Q) Series CPU, Q00J/00/01 CPU
Communication parameters for the POD except the baud rate are automatically set.
* The maximum baud rate available with the POD is 115200 bps. (57600 bps with UG221/220)
Select the appropriate baud rate depending on the used PLC and environment.

FX Series CPU, FX2N Series CPU, FX1S Series CPU, FX3UC Series
Communication parameters for the POD are automatically set.
16. MITSUBISHI ELECTRIC PLC 16-5

FX Series Link (A Prt)

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Parity Even Even

Transmission Data length 7 7


code Stop bit 1 1
Protocol Dedicated protocol (fixed) −

H/W type*1 Normal/RS-232C RS-232C


Sumcheck Added (fixed) −
Transmission mode Mode 1 Trans. Mode 1

*1 Select RS-485 when the link unit FX2N-485-BD, FX2N-422-BD, FX1N-485-BD, FX1N-422-BD or
FX0N-485-ADP is used.
* We recommend to set 2 ms or above for [Send Delay Time] in the [Detail] tab window of the
[Comm. Parameter] dialog of the editor.
16-6 16. MITSUBISHI ELECTRIC PLC

A Series Link, QnA Series Link: Switch Setting


The following is an example that shows the settings for both rotary DIP switches and DIP switches on
the PLC.

AJ71UC24
Example 1 Signal level: RS-232C, baud rate: 19200 bps, transmission mode 1
STATION No STATION No MODE ON
´10 ´1

B C D E B C D E B C D E
A A A SW11
F F F
9 9 9
0 0 0
8 8 8 SW12
1 1 1
7 2 7 2 7 2
6 6 6 SW13
5 4 3 5 4 3 5 4 3
SW14

SW15

SW16
OFF SW17 ON

SW18

SW21

SW22

SW23

SW24

A1SJ71C24-R2, A1SJ71UC24-R2
Example 2 Signal level: RS-232C, baud rate: 19200 bps, transmission mode 1
STATION No STATION No MODE ON
´10 ´1

B C D E B C D E B C D E
A A A SW03
F F F
9 9 9
0 0 0
8 8 8 SW04
1 1 1
7 2 7 2 7 2
6 6 6 SW05
5 4 3 5 4 3 5 4 3
SW06

SW07

ON SW08 OFF
SW09

SW10

SW11

SW12

AJ71QC24, A1SJ71QC24, AJ71QC24N


Example 3 Baud rate: 19200 bps
STATION No STATION No MODE ON
´10 ´1

B C D E B C D E B C D E
A A A SW01
F F F
9 9 9
0 0 0
8 8 8 SW02
1 1 1
7 2 7 2 7 2
6 6 6 SW03
5 4 3 5 4 3 5 4 3
SW04

SW05

SW06

OFF SW07 ON

SW08

SW09

SW10

SW11

SW12
16. MITSUBISHI ELECTRIC PLC 16-7

A1SJ71UC24-R4, A1SJ71C24-R4
Example 4 Signal level: RS-422, baud rate: 19200 bps, transmission mode 1
STATION No STATION No MODE ON
´10 ´1

B C D E B C D E B C D E
A A A SW01
F F F
9 9 9
0 0 0
8 8 8 SW02
1 1 1
7 2 7 2 7 2
6 6 6 SW03
5 4 3 5 4 3 5 4 3
SW04

SW05

ON SW06 OFF

SW07

SW08

SW09

SW10

SW11

SW12

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

A Series Link, QnA Series Link, QnH (Q) Series Link, A Series CPU, QnA Series CPU,
QnH (A) Series CPU, QnH (Q) Series CPU, Q00J/00/01 CPU, A Link + Net10

Memory TYPE Remarks


D (data register) 0
W (link register) 1
R (file register) 2 *1
TN (timer/current value) 3
CN (counter/current value) 4
SPU (special unit buffer memory) 5 *2
M (internal relay) 6
L (latch relay) 7
B (link relay) 8
X (input relay) 9
Y (output relay) 10
TS (timer/contact) 11
TC (timer/coil) 12
CS (counter/contact) 13
CC (counter/coil) 14
H (link unit buffer memory) 15
SD (special register) 16 QnA, QnH (Q) series only (both link unit and CPU)
SM (special relay) 17 QnA, QnH (Q) series only (both link unit and CPU)
SB (special relay) 18 QnA, QnH (Q) series only (both link unit and CPU)
SW (special link register) 19 QnA, QnH (Q) series only (both link unit and CPU)
ZR (file register (for continuous access)) 20 QnA, QnH (Q) series only (both link unit and CPU)

*1 When the A series CPU is in ROM operation, R register cannot be used.


*2 The unit number is required in addition to the memory type and address. Convert byte address into word
address when entering the data on the editor if the memory device of link unit is given byte address.
16-8 16. MITSUBISHI ELECTRIC PLC

FX Series, FX1S Series

Memory TYPE Remarks


D (data register) 0
TN (timer/current value) 1
CN (counter/current value) 2
32CN (counter 32 bits) 3 *1
M (internal relay) 4
S (state) 5
X (input relay) 6 Read only
Y (output relay) 7
TS (timer/contact) 8
CS (counter/contact) 9
DX (file register) 10 *2

*1 For numerical data format where double-words can be used (Num. Data Display, Graph, Sampling), data is
processed as double-words.
For those where bits or words can be used, data is processed as words consisting of lower 16 bits.
For input Upper 16 bits are ignored.
For output “0” is written for upper 16 bits.
*2 Use DX for D1000 to 2999.

FX2N Series, FX-3UC Series

Memory TYPE Remarks


D (data register) 0
TN (timer/current value) 1
CN (counter/current value) 2
32CN (counter 32 bits) 3 *1
M (internal relay) 4
S (state) 5
X (input relay) 6 Read only
Y (output relay) 7
TS (timer/contact) 8
CS (counter/contact) 9
R (extension register) 11 FX-3UC series CPU only

*1 For numerical data format where double-words can be used (Num. Data Display, Graph, Sampling), data is
processed as double-words.
For those where bits or words can be used, data is processed as words consisting of lower 16 bits.
For input Upper 16 bits are ignored.
For output “0” is written for upper 16 bits.
16. MITSUBISHI ELECTRIC PLC 16-9

FX Series (A Prt)

Memory TYPE Remarks


D (data register) 0
TN (timer/current value) 1
CN (counter/current value) 2 *1
32CN (counter 32 bits) 3 *2
M (internal relay) 4
S (state) 5
X (input relay) 6 Read only
Y (output relay) 7
TS (timer/contact) 8
CS (counter/contact) 9

*1 CN200 to CN255 equals 32CN (32-bit counter).


*2 For numerical data format where double-words can be used (Num. Data Display, Graph, Sampling), data is
processed as double-words.
For those where bits or words can be used, data is processed as words consisting of lower 16 bits.
For input Upper 16 bits are ignored.
For output “0” is written for upper 16 bits.

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 9-pin (male)

Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 CD 1
RD 7 3 RD 2
RS 4 SD 3
CS 5 SG 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used RS 7
as FG.
The metal shell of the * Use shielded twist-pair cables.
CS 8
modular jack 2 on the
UG230 is used as SG.
16-10 16. MITSUBISHI ELECTRIC PLC

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2
RD 7 3 RD 3
RS 4 RS 4
CS 5 CS 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the * Use shielded twist-pair cables.
CD 8
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (female)
Name
Signal
*1 SHELL 1 Name Pin No.

SD 8 2 RD 2
RD 7 3 SD 3
RS 4 SG 5
CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used
as FG. * Use shielded twist-pair cables.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
16. MITSUBISHI ELECTRIC PLC 16-11

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 SG 7

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used
* Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SG 5 7 SDA

+SD 1 12 SDB

-SD 2 13 RDA

+RD 7 24 RDB
-RD 8 25 SG
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
16-12 16. MITSUBISHI ELECTRIC PLC

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 RDA 2
+SD 1 12 SDA 3
-SD 2 13 DSRA 4
+RD 7 24 DTRA 5
-RD 8 25 SG 7
*1 Pin No. 1 of CN1 is used RDB 15
as FG.
The metal shell of the
SDB 16
modular jack 2 on the
UG230 is used as SG.
DSRB 17

DTRB 18

20
* Use shielded twist-pair cables.
21

Wiring Diagram 7

POD
CN1
D-sub 25-pin (male)
PLC
Signal
Name Pin No. D-sub 25-pin (male)

FG 1 Signal Pin No.


Name

SG 7 2 +RxD
+SD 12 3 +TxD
-SD 13 4 +DSR
+RTS 14 5 +DTR

-RTS 17 7 SG

-CTS 18 15 -RxD

+CTS 19 16 -TxD

+RD 24 17 -DSR

-RD 25 18 -DTR

20

21
* Use shielded twist-pair cables.
16. MITSUBISHI ELECTRIC PLC 16-13

According to our noise tests, the attachment of a ferrite core improves noise voltage by 650 to 900 V and aids in
preventing communication errors.

• When connecting to the A/QnA series CPU directly, attach a ferrite core to the communication cable between
the POD and A/QnA series CPU to avoid noise problems.

Ferrite core

POD A/QnA series


CPU

• Recommended ferrite core type


TDK's ZCAT2032-0930 (ID: 8 mm, OD: 20 mm)

• In consideration of such noise problems, it is recommended that the standard type link unit be used when the
cable length of 15 m or longer is required.

Wiring Diagram 8

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SG 5 7 RDA

+SD 1 12 SDA
-SD 2 13 SG

+RD 7 24 RDB
-RD 8 25 SDB
*1 Pin No. 1 of CN1 is used
as FG. * Use shielded twist-pair cables.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
16-14 16. MITSUBISHI ELECTRIC PLC

A Link + Net10

• When the POD is connected to the standard type link unit on the CPU that is connected to the data
link system or network system, the POD can have access to CPUs on NET II (/B) and NET/10. In
this case, select “A Link + Net10” for [PLC Type] on the editor.
• When the POD has access to the CPU on NET II (/B) or NET/10:
- With NET II (/B), the POD can only have access to CPUs in the network (No. 1 in the
illustration below) of the CPU equipped with the standard type link unit that is connected to the
POD.
(Available CPU No. 0 to 30)
- With NET/10, the POD can have access to CPUs in the network (No. 1 in the illustration
below) of the CPU equipped with the standard type link unit that is connected to the POD as
well as those in the other networks (Nos. 2 and 3 in the illustration below) that are connected.
(Available CPU No. 1 to 30)

SYSTEM

F1

F2

F3

F4

F5
Standard type
link unit
F6

F7

POWER

POD
CPU CPU
(1-1) (2-1)
CPU CPU
(1-5) (2-5)

CPU
Network No. 1 (1-2) Network No. 2
(2-2)

CPU CPU
(1-4) (2-4)
CPU CPU
(1-3) (2-3)
(3-1)
CPU
(2-4)
(3-2)

CPU
Network No. 3 (3-5)
CPU
(3-3)

CPU
(3-4)

• When the POD reads from or writes to the CPU (“1-1” in the above illustration) equipped with the
standard type link unit:
Set “31” for [CPU No.] for memory setting on the editor.
The response time is the same as that with 1 : 1 connection between the POD and the PLC.
When the POD reads from or writes to the CPU memory of the CPU number other than “31”:
Transient transmission is performed and the response time is not fast. Please understand
beforehand.
• To have access to the PLC in the other network on NET/10, specify the network number in the
OPEN macro for the screen on the editor.
This macro command should be [OUT_ENQ] of system call [SYS]. It is not possible to have
access to the CPU on the different network from the same screen.
16. MITSUBISHI ELECTRIC PLC 16-15

• Network specifying macro............... [OUT_ENQ] of system call [SYS]


F1 memory
n+0 Always 0
n+1 Network selection: 2
n+2 System code
n+3 Network number

“n + 0” and “n + 1” are fixed to “0” and “2”, respectively.


“n + 2” (system code) should be: 1: NET/10 2: NET II (/B)
For “n + 3” (network number), set “0” when NET II (/B) is selected for “n + 2” (system code) or
the network number to be accessed when NET/10 is selected.
Do not use this macro for any purpose other than OPEN macro for a screen. Doing so triggers
network switching at the time of macro execution, resulting in a communication error.
For more information on the macro function, refer to the User’s Manual <Function> (FEH376).
Also refer to the explanation on network registration contained in the operation manual for
MITSUBISHI’s Standard Link/Multi-drop Link Unit.
• For the NET II (/B) data link system and NET/10 network system, refer to MITSUBISHI’s manual.

Available Memory
For the available memory of the PLC to be accessed, refer to “Available Memory” (page 16-7).
Note that the CPU number must be set on the editor.

Wiring
Refer to the wiring diagram with the standard type link unit.
16-16 16. MITSUBISHI ELECTRIC PLC

UG00P-DI (Dual Port Interface)


UG00P-DI is the add-on connector with two ports, specifically designed for the connector on
MITSUBISHI’s A series, QnA series or FX series CPU programming port.

MITSUBISHI A/QnA/FX series

CPU

A6GPP, A7PHP, computer, etc.


When connecting to the CPU of the MITSUBISHI A/QnA
series:
Insert the connector on the backside into the CPU port
directly or use the UG200C-G (optional) cable for
connection.
When connecting to the CPU of the MITSUBISHI FX1/2 series:
P
P
G

123 Use the UG200C-G cable (optional) for connection.


GD
When connecting to the CPU of the MITSUBISHI
FX2N/1N/0N/1S series:
Use MITSUBISHI’s conversion cable “FX-20P-CADP.”

Slide switch
1: A series UG200C-M cable (optional)
2: QnA series
3: FX series
SYSTEM

F1

* Set the slide switch before turning


F2

F3

the power on. F4

F5

F6

F7

POWER

POD

* UG00P-DI cannot be used with the UG00C-E cable.

• The power to the UG00P-DI is supplied from the CPU. Check the electric capacity of 5 V at the
CPU. (Current consumption: Max. 350 mA)
• Keep the cable between the CPU and UG00P-DI as short as possible. (Max. 1 to 1.5 m)
• Be sure to consider noise problems when performing wiring.
• When UG00P-DI is used for connection with the POD, set 1.5 seconds or above for the timeout
time in the [Comm. Parameter] dialog.
17. MODICON PLC 17-1

17. MODICON PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


Modbus RTU Modbus RTU Modbus RS-232C [Wiring Diagram 1]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 1 1
Parity Even Even

Transmission Data length 8 8


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


4 (holding register) 0
3 (input register) 1
0 (output coil) 4
1 (input relay) 6 Read only
17-2 17. MODICON PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Name
Pin No.

SD 8 2 RX 2
RD 7 3 TX 3
RS 4 DTR 4
CS 5 GND 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used RTS 7
as FG. * Use shielded twist-pair cables.
The metal shell of the CTS 8
modular jack 2 on the
UG230 is used as SG.
18. MOELLER PLC 18-1

18. MOELLER PLC

Available PLCs

Select PLC Type PLC Connection


RS-232C [Wiring Diagram 1]
+
PS4 PS4-201-MM1 (PRG port)
ZB4-303-KB1 Cable made by
MOELLER

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 1 1
Parity Not provided Not provided

Transmission Data length 8 8


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


M (marker) 0 MW as word device
18-2 18. MOELLER PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TX 2

RD 7 3 RX 3

SG 5 7 SG 5
*1 Pin No. 1 of CN1 is used
as FG.
The metal shell of the * Use shielded twist-pair cables.
modular jack 2 on the
UG230 is used as SG.
19. OMRON PLC 19-1

19. OMRON PLC

Available PLCs

Ladder
Select PLC Type PLC Unit/Port Connection PLC2Way
Transfer*4
C20H,C28H,C40H RS-232C port RS-232C [Wiring Diagram 1]
C120, C120F
RS-232C [Wiring Diagram 3]
C200H
C120-LK201-V1
C500, C500F
C120-LK202-V1
C1000H RS-422 [Wiring Diagram 4]
C2000, C2000H
C200H C200H-LK201 RS-232C [Wiring Diagram 3]
C200HS-CPU01, 03 C200H-LK201-V1
C200HS-CPU21, 23 C200H-LK202
C200HS-CPU31, 33 C200H-LK202-V1 RS-422 [Wiring Diagram 4]

C200HS-CPU21, 23
C200HS-CPU31, 33
RS-232C port RS-232C [Wiring Diagram 2]
CQM1-CPU21
CQM1-CPU41, 42, 43, 44
C500, C500F RS-232C [Wiring Diagram 3]
C1000H C500-LK203
C2000, C2000H RS-422 [Wiring Diagram 4]
SYSMAC C RS-232C port RS-232C [Wiring Diagram 2]
C200HX
C200HG Mounted on the CPU slot RS-232C [Wiring Diagram 2]
C200HE (C200HW-COM02 to 06) RS-422 [Wiring Diagram 5]
SRM1-C02 RS-232C port RS-232C [Wiring Diagram 2]

CPU unit OMRON’s cable


CPM1A
(peripheral port) [CQM1-CIF01]*1, *2
RS-232C port RS-232C [Wiring Diagram 2]
CPM2A CPU unit OMRON’s cable
(peripheral port) [CQM1-CIF01]*1, *2
OMRONs adaptor unit
[CPM2C-CIF01]
CPU unit + RS-232C [Wiring Diagram 2]
CPM2C
(peripheral port) OMRON’s cable
[CS1W-CN118]
+ RS-232C [Wiring Diagram 2]

CPU unit with built-in port RS-232C [Wiring Diagram 2]


(hose link port) RS-422 [Wiring Diagram 6]
CV500, CV1000 RS-232C
SYSMAC CV CV2000 PORT1 [Wiring Diagram 3]
CVM1
CV500-LK201 PORT2 [Wiring Diagram 2]
RS-422
PORT2 [Wiring Diagram 5]
RS-232C port
CS1W-SCU21
RS-232C [Wiring Diagram 2]
CS1 Mounted on the CPU slot
SYSMAC (CS1W-SCB21)
CS1/CJ1 Mounted on the CPU slot
SYSMAC RS-422 [Wiring Diagram 7]
(CS1W-SCB41)
CS1/CJ1 DNA*3
RS-232C port RS-232C [Wiring Diagram 2]
CJ1H, CJ1M RS-232C [Wiring Diagram 2]
CJ1W-SCU41
RS-422 [Wiring Diagram 7]
19-2 19. OMRON PLC

*1 Replace the shell on the D-sub 25-pin side before use. (Recommended part: DDK’s 17J-25)
*2 For connection to MJ2 of a POD, use an UG30C-J adaptor plus CQM1-CIF01.
*3 For SYSMAC CS1/CJ1 DNA, refer to page 19-8.
*4 For the ladder transfer function, refer to “Appendix 8 Ladder Transfer Function.”

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate* 19200 bps 19200 bps
Port 0 0
Parity Even Even

Transmission Data length 7 (ASCII) 7


code Stop bit 2 2
Command level 3 (fixed) −
Protocol 1 : n protocol (fixed) −
Synchronizing switch Internal synchronization (fixed) −
CTS switch 0 V (always ON) (fixed) −
5 V supply switch OFF (fixed) −
Terminating resistance ON for RS-422 −

* The maximum baud rate available with the POD is 115200 bps. (57600 bps with UG221/220)
Select the appropriate baud rate depending on the used PLC and environment.

UG00S-CW Setting
Set [Trans. Mode] in the [Detail] tab window of the [Comm. Parameter] dialog of the UG00S-CW editor.

Transmission Mode Contents


Trans. Mode 1 BCD w/o sign
Trans. Mode 2 BCD w/ signs*1

*1 BCD w/ signs
Data in the PLC memory can be shown as data with signs.

When higher 4 bits in the memory indicates [F] or [A], it is treated as negative.
[F]: Regards higher 4 bits as [−0].
[A]: Regards higher 4 bits as [−1].
• Displayable range 1 word: −1999 to +9999
2 words: −19999999 to +99999999
Example:

PLC Memory Indication on POD


0000 to 9999 0 to 9999
F001 to F999 −1 to −999
A000 to A999 −1000 to −1999
00000000 to 99999999 0 to 99999999
F0000001 to F9999999 −1 to −9999999
A0000000 to A9999999 −10000000 to −19999999

• Setting procedure: Num. Data Display [Input Type] BCD


[Display Type] DEC (w/ −sign, w/ +−signs)
19. OMRON PLC 19-3

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

SYSMAC C

Memory TYPE Remarks


DM (data memory) 0
CH (input/output relay) 1
HR (holding relay) 2
LR (latch relay) 3
AR (auxiliary memory relay) 4
T (timer/current value) 5
C (counter/current value) 6
EMn (extended data memory) 7 *1
TU (timer/contact) 9 Read only
CU (counter/contact) 10 Read only

*1 When using EMn (extended data memory), specify the bank Example: EM0 : 30000
number (C: 0 to 7).
The assigned memory is indicated when editing the screen as
Address
shown on the right.
Colon
Bank number

SYSMAC CV

Memory TYPE Remarks


DM (data memory) 0
CH (input/output relay) 1
AR (alarm relay) 4
T (timer/current value) 5
C (counter/current value) 6
EMn (extended data memory) 7 *1
TU (timer/contact) 9 Read only
CU (counter/contact) 10 Read only

*1 When using EMn (extended data memory), specify the bank Example: EM0 : 30000
number (CV: 0 to 7).
The assigned memory is indicated when editing the screen as
Address
shown on the right.
Colon
Bank number
19-4 19. OMRON PLC

SYSMAC CS1/CJ1, SYSMAC CS1/CJ1 DNA

Memory TYPE Remarks


DM (data memory) 0
CH (input/output relay) 1
H (holding relay) 2
A (alarm relay) 4
T (timer/current value) 5
C (counter/current value) 6
EMn (extended data memory) 7 *1
W (internal relay) 8
TU (timer/contact) 9 Read only
CU (counter/contact) 10 Read only

*1 When using EMn (extended data memory), specify the bank Example: EM0 : 30000
number (CS1: 0 to C).
The assigned memory is indicated when editing the screen as
Address
shown on the right.
Colon
Bank number

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
19. OMRON PLC 19-5

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 9-pin (male)

Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 9
*1 Pin No. 1 of CN1 is * Use shielded twist-pair cables.
used as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
Pin No.
*1 SHELL 1 Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
19-6 19. OMRON PLC

RS-422
Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Name Pin No. Pin No.
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 RDB 1

+SD 1 12 SG 3

-SD 2 13 SDB 5

+RD 7 24 RDA 6
-RD 8 25 SDA 9
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Name Pin No. Pin No.
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 SG 9

+SD 1 12 RDB 8

-SD 2 13 RDA 6

+RD 7 24 SDB 2
-RD 8 25 SDA 1
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
19. OMRON PLC 19-7

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 SG 9

+SD 1 12 RDB 8

-SD 2 13 RDA 6

+RD 7 24 SDB 2
-RD 8 25 SDA 1
*1 Pin No. 1 of CN1 is used RS 4
as FG.
The metal shell of the * Use shielded twist-pair cables. CS 5
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
SHELL Pin No.
*1 1 Name

+SD 1 12 RDB 8

-SD 2 13 RDA 6

+RD 7 24 SDB 2
-RD 8 25 SDA 1
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
19-8 19. OMRON PLC

SYSMAC CS1/CJ1 DNA


When connecting the POD to CS1/CJ1 on a network (Controller Link), the POD can also access
another CS1 on the network.

CS1
CS1 (2-2)
(1-2)

CS1
Network No. 1 (1-3) Network No. 2 CS1
(2-1)
(2-3)

CS1 CS1
(1-1) (2-4)

SYSTEM

F1

F2

F3

F4

F5

F6

F7

POWER

POD

UG00S-CW Setting
• Select [System Setting] → [Comm. Parameter] → [Detail] tab, and select [1 : n] for [Connection].
• Select [System Setting] → [Network Table Setting] → [PLC]. The network table edit window is
displayed.
Double-clicking on the number brings up the dialog where CS1/CJ1 on the network can be
registered.

Double-click.
20. SAIA PLC 20-1

20. SAIA PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


PGU port RS-232C [Wiring Diagram 1]
PCD PCD1 PCD7.F120 RS-232C [Wiring Diagram 2]
PCD4.F110 RS-485 [Wiring Diagram 3]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 1

Transmission Data length 8 8


code Stop bit 1 1

S-BUS Configuration
S-BUS Mode Parity
GU Port Number 0 (PGU port), 1 (PCD7.F120, PCD4.F110)

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


R (register word) 0
Rfp (float) 1
T (timer-counter word) 2
C (timer-counter coil) 3
I (input bit) 4 Read only
O (output bit) 5
F (flag bit) 6
20-2 20. SAIA PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name PGU port
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RX 2

RD 7 3 TX 3

SG 5 7 GND 5
*1 Pin No. 1 of CN1 is used
as FG. * Use shielded twist-pair cables.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. PCD7.F120
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TX 11

RD 7 3 RX 12

SG 5 7 GND 10
*1 Pin No. 1 of CN1 is used
as FG. * Use shielded twist-pair cables.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
20. SAIA PLC 20-3

RS-485
Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. PCD7.F110
Name
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 GND 10

+SD 1 12 T/R+ 12

-SD 2 13 T/R− 11

+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
20-4 20. SAIA PLC

Please use this page freely.


21. SAMSUNG PLC 21-1

21. SAMSUNG PLC

Available PLCs

Select PLC Type PLC Connection


RS-232C [Wiring Diagram 1]
SPC series SPC series
RS-422/485 [Wiring Diagram 2]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Parity Not provided Not provided
Stop bit 1 1
Terminating resistance ON for RS-485 −

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


R (input/output) 0
L (link relay) 1
M (internal relay) 2
K (keep relay) 3
F (special relay) 4
W (data register) 5
21-2 21. SAMSUNG PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 GND 5

CS 5
SG 5 7

*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

RS-422
Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

+SD 1 12 TR− 6

-SD 2 13 TR+ 7

+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
22. SHARP PLC 22-1

22. SHARP PLC

Available PLCs

Select PLC
CPU Unit/Port Connection PLC2Way
Type
W70H, W100H
ZW-10CM
JW50, JW70, JW100 RS-422 [Wiring Diagram 5]
JW-10CM
JW50H, JW70H, JW100H
JW20, JW20H, JW30H JW-21CM RS-422 [Wiring Diagram 5]
JW-1324K, JW-1342K MMI port RS-422 [Wiring Diagram 6]
JW10 JW-1424K, JW-1442K
JW-1624K, JW-1642K Communication port RS-422 [Wiring Diagram 7]
JW series
JW-32CUH PG/COMM1 port RS-422 [Wiring Diagram 11]
JW-32CUH1
JW-32CUM1
JW30H JW-33CUH RS-232C [Wiring Diagram 2]
JW-33CUH1 PG/COMM2 port
RS-422 [Wiring Diagram 11]
JW-33CUH2
JW-33CUH3
J-board Z-331J, Z-332J Host communication port T1 RS-422 [Wiring Diagram 8]
JW70 JW-70CU RS-232C [Wiring Diagram 1]
Communication port
RS-422 [Wiring Diagram 9]
JW100/70H JW100 JW-100CU
COM port JW70H JW-70CUH RS-232C [Wiring Diagram 1]
Communication port
JW100H JW-100CUH RS-422 [Wiring Diagram 10]

RS-232C [Wiring Diagram 1]


JW20H JW-22CU Communication port
RS-422 [Wiring Diagram 9]

Z-311J Host communication port CN3 RS-232C [Wiring Diagram 3]


JW20 Z-312J Host communication port TC1 RS-422 [Wiring Diagram 12]
COM port
J-board PG/COMM1 port
Z-511J
PG/COMM2 port
RS-422 [Wiring Diagram 11]
PG/COMM1 port
Z-512J
PG/COMM2 port
RS-232C [Wiring Diagram 4]
PG/COMM1 port
JW-311CU*, JW-312CU*, RS-422 [Wiring Diagram 11]
JW300 JW-321CU, JW-322CU, JW-331CU,
RS-232C [Wiring Diagram 2]
series JW-332CU, JW-341CU, JW-342CU, PG/COMM2 port
RS-422 [Wiring Diagram 11]
JW-352CU, JW-362CU
JW-21CM RS-422 [Wiring Diagram 5]

* Not provided with PG/COMM2 port


22-2 22. SHARP PLC

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

JW Series/JW100/70H COM Port/JW20 COM Port

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 for STA.NO ×10, 1 for STA.NO ×1 1
Parity Even Even
Data length 7 7
Stop bit 2 2
Error check Sumcheck (fixed) −
Transmission mode Computer link (fixed) −

* For JW-10CM or ZW-10CM:


In the [Comm. Parameter] dialog of the editor, set [Send Delay Time] to 1 msec or more.
* For JW10 series with MMI port or communication port:
Turn off the terminating resistances of the POD.
- UG530/UG430/UG330: DIPSW5, 7
- UG230 (MJ2): DIPSW2, 3
- UG230 (UG230A-DCL): DIPSW1, 2

JW300 Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 1 1
Parity Odd Odd
Data length 7 7
Stop bit 2 2
Error check Sumcheck (fixed) −
Transmission mode Computer link (fixed) −
22. SHARP PLC 22-3

JW Series: Switch Setting

JW-10CM, ZW-10CM, JW-21CM

Switch Setting Contents


SW0 4 Computer link (command mode)
SW1 1 Station address (lower half)
SW2 0 Station address (upper half)
SW3-1 OFF Not used
SW3-2 ON 4-wire system
SW3-3 OFF Not used
SW3-4 ON Even parity
Baud rate
SW4 0
0: 19200 1: 9600 2: 4800 3: 2400 4: 1200 5: 600
SW7 ON Terminating resistance provided

Z-331J, Z-332J

Switch Setting Contents


SW0 4 Command mode
SW1 1 Station address (lower half)
SW2 0 Station address (upper half)
SW3-1 OFF Not used
SW3-2 OFF 2-wire system only
SW3-3 OFF Not used
SW3-4 ON Even parity
Baud rate
SW4 0
0: 19200 1: 9600 2: 4800 3: 2400 4: 1200 5: 600
SW7 ON Terminating resistance provided

JW Series, JW100/70H COM Port, JW20 COM Port,


JW300 Series: System Memory Setting
The settings for communications with the POD should be made at the system memory as shown
below.

JW-10
• MMI port

System Memory Setting Contents


Data length: 7bits, stop bit: 2 bits
#226 30H
Parity: even, baud rate: 19200
#227 01H Port number

• Communication port

System Memory Setting Contents


#234 00H Computer link mode
Data length: 7bits, stop bit: 2 bits
#236 30H
Parity: even, baud rate: 19200
#237 01H Port number
22-4 22. SHARP PLC

JW-70CU/100CU, JW70CUH/100CUH, JW-22CU, Z-311J, Z-312J

System Memory Setting Contents


#236 30H Stop bit: 2 bits, parity: even, baud rate: 19200
#237 01H Port number

JW-30H, Z-511J, Z-512J


• PG/COMM1 port

System Memory Setting Contents


#234 30H Stop bit: 2 bits, parity: even, baud rate: 19200
#235 01H Port number

• PG/COMM2 port

System Memory Setting Contents


#236 30H Stop bit: 2 bits, parity: even, baud rate: 19200
#237 01H Port number

JW300 Series
• PG/COMM1 port

System Memory Setting Contents


#234 29H Stop bit: 2 bits, parity: odd, baud rate: 19200
#235 01H Port number

• PG/COMM2 port

System Memory Setting Contents


#236 29H Stop bit: 2 bits, parity: odd, baud rate: 19200
#237 01H Port number

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


X9XXX (register) 0
XXXXX (relay) 1 for word device
EXXXX (self diagnosis) 2
bXXXX (timer, counter/current value) 3
Fn (file register) 7 *1

*1 File register setting on UG00S-CW editor Example: F1 : 00002


Enter “file number” + “: (colon)” + “address” in order.
Address
Colon
File number
22. SHARP PLC 22-5

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 15-pin (male)

Signal
Pin No.
*1 SHELL 1 Name

SD 8 2 SXD 2

RD 7 3 RXD 3

RS 4 RTS 4

CS 5 CTS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used as FG.
The metal shell of UG230 12
modular jack 2 is used as SG.
14
* Use shielded twist-pair cables.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 4

RS 4 SG 7

CS 5 RTS 8
SG 5 7 CTS 12
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230 modular
jack 2 is used as SG.
22-6 22. SHARP PLC

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal Pin No.
*1 SHELL 1 Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 SG 6

CS 5 RTS 7
SG 5 7 CTS 8
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230
modular jack 2 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
Pin No.
*1 SHELL 1 Name

SD 8 2 SD 2

RD 7 3 RD 4

RS 4 SG 7

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230
modular jack 2 is used as SG.
22. SHARP PLC 22-7

RS-422
Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

+SD 1 12 L1

-SD 2 13 L2

+RD 7 24 L3
-RD 8 25 L4
*1 Pin No. 1 of CN1 is used as FG.
The metal shell of UG230
GND
modular jack 2 is used as SG.
* Use shielded twist-pair cables.

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No. D-sub 9-pin (male)
Name
Signal Pin No.
*1 SHELL 1 Name

+SD 1 12 RX 2

-SD 2 13 TX 3

+RD 7 24 PG/COMM 4
-RD 8 25 GND 5
*1 Pin No. 1 of CN1 is used as FG.
The metal shell of UG230 -RX 7
modular jack 2 is used as SG.
-TX 8
* Use shielded twist-pair cables.
22-8 22. SHARP PLC

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

+SD 1 12 L1

-SD 2 13 L2

+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230
modular jack 2 is used as SG.

Wiring Diagram 8

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

+SD 1 12 L1

-SD 2 13 L2

+RD 7 24 S
-RD 8 25 FG
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230 modular
jack 2 is used as SG.

Wiring Diagram 9

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
SHELL Pin No.
*1 1 Name

+SD 1 12 +TXD 10

-SD 2 13 −TXD 11

+RD 7 24 +RXD 12
-RD 8 25 −RXD 13
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230
modular jack 2 is used as SG.
22. SHARP PLC 22-9

Wiring Diagram 10

UG230 POD
MJ2 CN1 PLC
RJ-45 8 pin D-sub 25-pin (male) D-sub 15-pin (male)

Signal Signal Pin No.


Pin No. Pin No. Name
Name
Terminating
*1 SHELL 1 resistance 6

+SD 1 12 +TXD 10

-SD 2 13 −TXD 11

+RD 7 24 +RXD 12
-RD 8 25 −RXD 13
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230
modular jack 2 is used as SG.

Wiring Diagram 11

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
SHELL Pin No.
*1 1 Name

+SD 1 12 +SD 3

-SD 2 13 +RD 9

+RD 7 24 −RD 10
-RD 8 25 −SD 11
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230
modular jack 2 is used as SG.

Wiring Diagram 12

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal Pin No. Pin No. Terminal block
Name
Signal Pin No.
*1 SHELL 1 Name

+SD 1 12 TD 1

-SD 2 13 /TD 2

+RD 7 24 RD 3
-RD 8 25 /RD 4
*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.
The metal shell of UG230
modular jack 2 is used as SG.
22-10 22. SHARP PLC

Please use this page freely.


23. SHINKO ELECTRIC PLC 23-1

23. SHINKO ELECTRIC PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


SELMART SELMART-100 and later Version 01M2-UCI-6 RS-232C [Wiring Diagram 1]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Parity Even Even

Transmission Data length 7 (ASCII) 7


code Stop bit 1 1
Sumcheck Provided (fixed) −

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (data register) 0

* Only D register of SELMART is available. No other devices can be used. Be sure to note the
above though the setting on the UG00S-CW editor is possible.
23-2 23. SHINKO ELECTRIC PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
24. Siemens PLC 24-1

24. Siemens PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


S5-90U
CP-521SI
S5-95U RS-232C [Wiring Diagram 1]
(3964R Transmission Protocol)
S5-100U
S5 S5-115U RS-232C [Wiring Diagram 1]
CP-524 (3964R/RK512)
(S5 UG400) S5-135U
CP-544 (3964R/RK512) RS-422 [Wiring Diagram 6]
S5-155U
Second serial interface Siemens’s
S5-95U
(3964R Transmission Protocol) 6ES5 734-1BD20 cable*1
+
S5 PG port S5 series Programming port on the CPU unit*2 RS-232C [Wiring Diagram 3]
S7-300 CP-341 (3964R/RK512) RS-232C [Wiring Diagram 2]
S7
S7-400 CP-441 (3964R/RK512) RS-422 [Wiring Diagram 6]

S7-200 PPI S7-200 series PPI port RS-422 [Wiring Diagram 7]

S7-300/400MPI S7-300/400 series MPI port RS-422 [Wiring Diagram 9]


Siemens’s
S7-300MPI
HMI Adapter
(HMI ADP)
6ES7 972 0CA11-0XA0
S7-300/400 series Siemens’s
S7-300MPI RS-232C [Wiring Diagram 5]
(MPI port) PC Adapter
(PC ADP)
6ES7 9720CA23-0XA0
S7-300MPI Helmholz’s
(Helmholz SSW7 ADP) Adapter fur MPI-Bus SSW7
TI500/505 RS-232C [Wiring Diagram 4]
TI545/555 CPU port (bulit-in)
(TI500/505 UG400) RS-422 [Wiring Diagram 8]

*1 When using the 6ES5 734-1BD20 cable made by Siemens, connect the cable shown in [Wiring Diagram 3] to
the D-sub 25-pin side of the 6ES5 734-1BD20 cable for communications with the POD.
*2 135U/921 not supported

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

S5, S5 UG400 (S5-90U, S5-95U, S5-100U)

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Parity Even parity Even

Transmission Data length 8 8


code Stop bit 1 1
Busy signal NO (fixed) −
Hand shake OFF (fixed) −
24-2 24. Siemens PLC

S5, S5 UG400 (S5-115U, S5-135U, S5-155U), S7 (S7-300, S7-400)

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Parity − Even (fixed)

Transmission Data length − 8 (fixed)


code Stop bit − 1 (fixed)

S5 PG Port
Communication parameters are automatically set.

S7-200PPI

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 2 2
Parity Even (fixed) −

S7-300/400MPI

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps (fixed)
Parity − Even (fixed)

Transmission Data length − 8 (fixed)


code Stop bit − 1 (fixed)
Local No. (PLC port number) 2 2

• Set [MPI SETTING] in the [Comm. Parameter] dialog of the UG00S-CW editor.

Item MPI SETTING


Highest MPI Address 15/31/63/126
Source No. (POD port number) 0

Highest MPI Address: Set the maximum value of the port numbers for the PLC or the POD.
Source No.: Set the POD port number.
Set different numbers for [Source No.] and [Local No.], and be sure that
[Source No.] ≤ [Highest MPI Address].
[Highest MPI Address] setting example
If port numbers “13” and “20” are selected respectively for the PLC and the POD, select “31.”
24. Siemens PLC 24-3

S7-300MPI (HMI ADP, PC ADP, Helmholz SSW7 ADP)

POD Comm. Parameter Setting


Item Setting on PLC PC ADP
HMI ADP
Helmholz SSW7 ADP
Baud rate 38400 bps 38400 bps (fixed) 38400 bps
Parity − Odd (fixed)

Transmission Data length − 8 (fixed)


code Stop bit − 1 (fixed)
Local No. (PLC port number) 2 2

• Set [MPI SETTING] in the [Comm. Parameter] dialog of the UG00S-CW editor.

Item MPI SETTING


Highest MPI Address 15/31/63/126
Source No. (POD port number) 0

Highest MPI Address: Set the maximum value of the port numbers for the PLC or the POD.
Source No.: Set the POD port number.
Set different numbers for [Source No.] and [Local No.], and be sure that
[Source No.] ≤ [Highest MPI Address].
[Highest MPI Address] setting example
If port numbers “13” and “20” are selected respectively for the PLC and the POD, select “31.”

TI500/505, TI500/505 UG400

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Parity − None (fixed)

Transmission Data length − 8 (fixed)


code Stop bit − 1 (fixed)
24-4 24. Siemens PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

S5, S5 UG400, S7

Memory TYPE Remarks


Use memory address DB1 and later for S7, or
DB (data register) 0
DB3 or later for S5.
I (input relay) 1 IW as word device, read only
Q (output relay) 2 QW as word device, read only
F (flag/internal relay) 3 FW as word device, read only, only in S5 series
M (flag/internal relay) 3 MW as word device, read only, only in S7 series
T (timer/current value) 4 Read only
C (counter/current value) 5 Read only
AS (absolute address) 6 Unavailable with the S7 series

The assigned memory is indicated when editing the screen as shown below.
Example: For S5, S5 UG400: For S7:

DB003 000 DB003 : 0000

Address Address
Block number Colon
Block number

* Notes on UG400 (or UG200) data conversion


• When converting data of UG400 (or UG200) into the UG30/20 Series data, [S5 UG400] is
automatically selected for the PLC type.
• With UG400 (or UG200), the order of bit strings of I (input relay), Q (output relay) and F
(internal relay) is byte-reversed. Please take note of this.
Example: For S5 UG400: For S5, S7:
F0000217 F0000207 F0000207 F0000217
Memory setting of Memory setting of
UG400 (or UG200) F0000210 F0000200 UG30/20 F0000200 F0000210

FW20 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FW20 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Memory to be Memory to be
accessed to PLC by accessed to PLC
UG400 (or UG200) by UG30/20
24. Siemens PLC 24-5

S5 PG Port

Memory TYPE Remarks


DB (data register) 0 Use memory address DB3 and later.
I (input relay) 1 IW as word device
Q (output relay) 2 QW as word device
F (flag/internal relay) 3 FW as word device
T (timer/current value) 4
C (counter/current value) 5
AS (absolute address) 6

The assigned memory is indicated when editing the screen as Example: DB003 000
shown on the right.
Address
Block number

S7-200PPI

Memory TYPE Remarks


V (data memory) 0 VW as word device
IW as word device
I (input) 1
Possible to write to the unused area
Q (output) 2 QW as word device
M (bit memory) 3 MW as word device
T (timer/current value) 4
C (counter/current value) 5
TB (timer/contact) 6 Read only
CB (counter/contact) 7 Read only
HC (high-speed counter/current value) 8 Double-word usable
AIW (analog input) 9
AQW (analog output) 10
SM (special memory/special relay) 11 SMW as word device
S (stage) 12 SW as word device

S7-300/400MPI

Memory TYPE Remarks


DB (Data Word) 0 Use memory address DB1 and later.
I (input) 1 IW as word device
Q (output) 2 QW as word device
M (Marker Word) 3 MW as word device
T (timer/current value) 4
C (counter/current value) 5

The assigned memory is indicated when editing the screen as Example: DB0001 : 0000
shown on the right.
Address
Colon
Block number
24-6 24. Siemens PLC

TI500/505 (TI500/505 UG400)

Memory TYPE Remarks


V (variable memory) 0
WX (word input) 1
WY (word output) 2
X (discrete input) 3
Y (discrete output) 4
CR (control relay) 5
TCP (timer, counter/set value) 6
TCC (timer, counter/current time) 7
DCP (drum count/set value) 8 *1
DCC (drum count/current value) 9 Read only
DSP (drum step/set value) 10
DSC (drum step/current value) 11
K (fixed memory) 12
STW (system state) 13

*1 In case of using DCP (drum count/set value), set drum step Example: DCP03000 : 1
No.1 to 16.
The assigned memory is indicated when editing the screen
Drum step number
as shown on the right.
Colon
Address

* Notes on UG400 (or UG200) data conversion


• When converting data of UG400 (or UG200) into the UG30/20 Series data, [TI500/505 UG400]
is automatically selected for the PLC type.
• With UG400 (or UG200), the order of words is reversed in the case of double-words. Please
take note of this.
For UG400 (or UG200): For UG30/20:

MSB LSB MSB LSB

Lower-order word High-order word High-order word Lower-order word

1 word 1 word
2 words 2 words
24. Siemens PLC 24-7

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 GND 7

CS 5
SG 5 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (female)
Name
Signal Pin No.
*1 SHELL 1 Name

SD 8 2 RXD 2

RD 7 3 TXD 3

RS 4 GND 5

CS 5
SG 5 7

*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
24-8 24. Siemens PLC

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal Pin No.
*1 SHELL 1 Name

SD 8 2 TXD 2

RD 7 3 RXD 3
6ES5 734-1BD20
S5-95U
RS 4 4

CS 5 5
SG 5 7 GND 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male) D-sub 9-pin (female)

Signal Signal
Pin No. Pin No. Pin No.
Name Name

*1 SHELL 1 DCD 1

SD 8 2 RXD 2

RD 7 3 TXD 3

RS 4 DTR 4

CS 5 SG 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used RTS 7
as FG.
The metal shell of the * Use shielded twist-pair cables. CTS 8
modular jack 2 on the
UG230 is used as SG.
24. Siemens PLC 24-9

Wiring Diagram 5

UG230
CN1
HMI Adaptor
D-sub 25-pin (male) PC Adaptor
Helmholz Adaptor
Signal
Pin No. D-sub 9-pin (female)
Name
Signal
FG 1 Name Pin No.

SD 2 RD 2

RD 3 SD 3

RS 4 SG 5

CS 5 RTS 7

SG 7 CTS 8

* Use shielded twist-pair cables.

RS-422
Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 15-pin (male)
Name
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 T(A) 2
+SD 1 12 R(A) 4
-SD 2 13 SG 8
+RD 7 24 T(B) 9
-RD 8 25 R(B) 11
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
24-10 24. Siemens PLC

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Name
Pin No.

SG 5 7 SG 5

+SD 1 12 +TxD/RxD 3

-SD 2 13 −TxD/RxD 8

+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

- For information on the terminating resistance setting, refer to "page 24-11."

Wiring Diagram 8

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name
Pin No.

SG 5 7 GND 6

+SD 1 12 DI+ 5

-SD 2 13 DI- 8

+RD 7 24 DO+ 1
-RD 8 25 DO- 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
24. Siemens PLC 24-11

Wiring Diagram 9

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name
Pin No.

+SD 1 12 +RD/SD 3

-SD 2 13 -RD/SD 8

+RD 7 24
* Use shielded twist-pair cables.
-RD 8 25

*1 Pin No. 1 of CN1 is used


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

• Terminating Resistance Setting for Wiring Diagram 7 (S7-200 PPI Port) and 9 (S7-300 MPI Port)
Set the DIP switch 7 of the UG30/20 Series (for UG230: No. 3) to the OFF position.
Connect terminating resistance to the serial connector of the UG30/20 Series as shown below.
If the terminating resistance is not connected, a communication error may occur.
UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Pin No. Pin No.
Name

*1 SHELL 1

SG 5 7 390

5V 3 9 390

+SD 1 12

−SD 2 13
+RD 7 24 220

−RD 8 25

*1 Pin No. 1 of CN1 is used


as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
24-12 24. Siemens PLC

Please use this page freely.


25. TAIAN PLC 25-1

25. TAIAN PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


Communication Port (T/R+, T/R−) RS-422 [Wiring Diagram 1]
TP02 TP02 MMI Port (9-pin)
RS-422 [Wiring Diagram 2]
(4-5 Short Computer Link Mode)

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 1 1
Parity Not provided Not provided

Transmission Data length 7 7


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (data register timer•counter/contact) 0
V (timer•counter/contact) 1
WS (system register) 2
WC (constant register) 3
X (input relay) 4
Y (output relay) 5
C (internal relay) 6
SC (special register) 7
25-2 25. TAIAN PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-422
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Pin No. Pin No.
Name

*1 SHELL 1 PLC
Signal
SG 5 7 Name

+SD 1 12 T/R+

-SD 2 13 T/R-

+RD 7 24 SHLD

-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SG 5 7 RX+ 2

+SD 1 12 TX+ 3

-SD 2 13 PG/COM 4

+RD 7 24 GND 5
-RD 8 25 RX- 7
*1 Pin No. 1 of CN1 is used TX- 8
as FG.
The metal shell of the * Use shielded twist-pair cables.
modular jack 2 on the
UG230 is used as SG.
26. Telemecanique PLC 26-1

26. Telemecanique PLC

Available PLCs

Select PLC Type PLC Connection


TSX Micro TSX Micro RS-485 [Wiring Diagram 1]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Connection – Multi-Link (fixed)
Parity Odd Odd

Transmission Data length 8 (fixed) 8


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


MW (memory word) 0
KW (constant word) 1
M (bit memory) 2
26-2 26. Telemecanique PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-485
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Pin No. Pin No.
Name PLC
SHELL MiniDIN 9-pin (male)
*1 1
Signal
SG 5 7 Name
Pin No.

+SD 1 12 D+ 1
-SD 2 13 D− 2
+RD 7 24 0V 7
-RD 8 25
* Use shielded twist-pair cables.
*1 Pin No. 1 of CN1 is used
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
27. TOSHIBA PLC 27-1

27. TOSHIBA PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


T series T series Computer link port on CPU RS-422 [Wiring Diagram 1]
EX series EX100, 250, 500 Computer link port on CPU RS-422 [Wiring Diagram 2]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

T Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 01 1
Parity Odd Odd

Transmission Data length 8 8


code Stop bit 1 1

• PLC Transmission Parameter Setting


When setting parameters on the PLC, use the T series programmer and enter the following data
for system information “7. COMPUTER LINK.”

Station number 1
Baud rate 19200 bps
Parity Odd
Data length 8 bits
Stop bit 1 bit

EX Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 01 1
Parity Odd Odd

Transmission Data length 8 8


code Stop bit 1 1
Communication selector switch LINK: computer link −
27-2 27. TOSHIBA PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

T Series

Memory TYPE Remarks


D (data register) 0
X (input) 1 XW as word device
Y (output) 2 YW as word device
R (auxiliary relay) 5 RW as word device
L (link relay) 6 LW as word device
W (link register) 7
F (file register) 8
TN (timer/current value) 9 Read only
CN (counter/current value) 10 Read only
TS (timer/contact) 11 Read only
CS (counter/contact) 12 Read only

EX Series

Memory TYPE Remarks


D (data register) 0
X (input) 1 XW as word device
Y (output) 2 YW as word device
R (auxiliary relay) 3 RW as word device
Z (link relay) 4 ZW as word device
TN (timer/current value) 5 Read only
CN (counter/current value) 6 Read only
27. TOSHIBA PLC 27-3

Wiring
Wiring diagrams with the PLC are shown below.

RS-422
Wiring Diagram 1
UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name D-sub 15-pin (male)

*1 SHELL 1 Signal
Pin No.
Name
SG 5 7 2 RXA
+SD 1 12 3 TXA
-SD 2 13 4 CTSA
+RD 7 24 *
R 5 RTSA
-RD 8 25 7 SG
*1 Pin No. 1 of CN1 is used 10 RXB
as FG.
The metal shell of the 11 TXB
modular jack 2 on the
UG230 is used as SG. 12 CTSB
* Use shielded twist-pair cables. 13 RTSB
* R: 120 Ω 1/2W

Wiring Diagram 2
UG230 POD
MJ2 CN1 PLC
RJ-45 8-pin D-sub 25-pin (male)

Signal Signal
Pin No. Pin No. Name
Name

*1 SHELL 1 TXA

SG 5 7 TXB

+SD 1 12 RXA

-SD 2 13 TERM

+RD 7 24 RXB
-RD 8 25 SG
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
27-4 27. TOSHIBA PLC

Please use this page freely.


28. TOSHIBA MACHINE PLC 28-1

28. TOSHIBA MACHINE PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


Port on the CPU unit
TC200 TCCMW
TC200 RS-232C [Wiring Diagram 1]
TCCMO
TCmini −

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 1 1
Parity Not provided None (fixed)

Transmission Data length 8 8 (fixed)


code Stop bit 2 2

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (register 1) 0
B (register 2) 1
X (input relay) 2 XW as word device
Y (output relay) 3 YW as word device
R (temporary storage) 4 RW as word device
G (extension temporary storage 1) 5 GW as word device
H (extension temporary storage 2) 6 HW as word device
L (latch relay) 7 LW as word device
S (shift register) 8 SW as word device
E (edge relay) 9 EW as word device
P (timer counter 1/current value) 10
V (timer counter 2/set value) 11
T (timer) 12 TW as word device
C (counter) 13 CW as word device
A (special auxiliary relay) 14 AW as word device
28-2 28. TOSHIBA MACHINE PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (female)
Name
Signal Pin No.
*1 SHELL 1 Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 DTR 4

CS 5 GND 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used CTS 7
as FG.
The metal shell of the RTS 8
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.
29. Toyoda Machine Works PLC 29-1

29. Toyoda Machine Works PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection PLC2Way


L2/PC2 series
TOYOPUC CMP-LINK RS-422 [Wiring Diagram 1]
PC3J

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 0
Parity Even Even

Transmission Data length 7 (ASCII) 7


code Stop bit 2 2

Set [Trans. Mode] in the [Detail] tab window of the [Comm. Parameter] dialog of the UG00S-CW editor.
• PC3J: Select [Single Data Area] or [Split Data Area].
• L2/PC2 series: Select [Single Data Area].

Transmission Mode Contents


Single Data Area Data area is common.
Split Data Area Each PLC device is divided into program files.

Switch Setting
Baud rate: 19200 bps

Switch Setting Contents


SW1 0 Station address (lower half)
SW2 0 Station address (upper half)
Baud rate
SW3 1
1: 19200 2: 9600 3: 4800 4: 2400 5: 1200 6: 600

Switch Short Bar Contents


SET2 Provided Data length: 7 bits
SET3 Provided Stop bit: 2 bits
29-2 29. Toyoda Machine Works PLC

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (data register) 0
R (link register) 1
B (file register) 2
N (current value register) 3
X (input relay) 4 WX as word device
Y (output relay) 5 WY as word device
M (internal relay) 6 WM as word device
K (keep relay) 7 WK as word device
L (link relay) 8 WL as word device
T (timer/contact) 9 WT as word device
C (counter/contact) 10 WC as word device
U (extensional data register) 11
H (extensional set value register) 12
EN (extensional current value register) 13
EX (extensional input relay) 14 WEX as word device
EY (extensional output relay) 15 WEY as word device
EM (extensional internal relay) 16 WEM as word device
EK (extensional keep relay) 17 WEK as word device
EL (extensional link relay) 18 WEL as word device
ET (extensional timer/contact) 19 WET as word device
EC (extensional counter/contact) 20 WEC as word device
V (special register) 21 WV as word device

Screen Editing (Memory Input)


When [Split Data Area] is selected for [Trans. Mode], the [PRG No] setting is available in the [Memory
Input] dialog.
• Range for [PRG No.]: 1 to 3
29. Toyoda Machine Works PLC 29-3

Wiring
Wiring diagram with the PLC is shown below.

RS-422
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SG 5 7 +

+SD 1 12 -

-SD 2 13 0V

+RD 7 24
-RD 8 25
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
29-4 29. Toyoda Machine Works PLC

Please use this page freely.


30. TOYO DENKI PLC 30-1

30. TOYO DENKI PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


RS-232C [Wiring Diagram 1]
NP1L-RS1*2
RS-485 [Wiring Diagram 2]
µGPCSX series
µGPCSX series NP1L-RS2 RS-232C [Wiring Diagram 1]

NP1L-RS4 RS-485 [Wiring Diagram 2]

µGPCSX CPU CPU port RS-485 cable UG00C-S*1

*1 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus UG00C-S.


*2 Only one POD unit can be connected to one link unit except for multi-link 2 connection.

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

µGPCsx Series

Item Setting on PLC POD Comm. Parameter Setting


Baud rate *1 38400 bps
38400 bps
RS-232C Mode 1*1 −
Transmission mode
RS-422 Mode 2 *1 −
Parity Even Even
Transmission code Data length 8 8
Stop bit 1 1

*1 When changing the baud rate, change the transmission mode (MODE) of the PLC communication module.
For more information, refer to the instruction manual for the PLC.

µGPCsx CPU Port


Connect to the CPU port. Communication parameters for the POD are automatically set.

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


I (input memory) 0 i as word device
O (output memory) 1 o as word device
Z (announce) 2 z as word device *1
G (global) 3 g as word device *1
gr (global: real number) 4 *1
RI (retain) 5 ri as word device *1
rr (retain: real number) 6 *1

*1 Specify the CPU number (0 to 15) when specifying the memory address.
30-2 30. TOYO DENKI PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 ER 4

CS 5 SG 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables. RS 7
as FG.
The metal shell of UG230 CS 8
modular jack 2 is used as
SG.

RS-485
Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (female)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 SDA 2

+SD 1 12 SDB 1

-SD 2 13 RDA 9

+RD 7 24 RDB 8
-RD 8 25 SG 6
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of UG230
modular jack 2 is used as
SG.
31. VIGOR PLC 31-1

31. VIGOR PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


RS-232C [Wiring Diagram 1]
M series M1-CPU1 COM PORT
RS-485 [Wiring Diagram 2]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 0 0
Parity Even Even

Transmission Data length 7 7


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


D (data register/special register) 0
X (input relay) 1
Y (output relay) 2
M (internal relay/special relay) 3
S (internal relay/step relay) 4
T (timer/current value) 5
C (counter/current value) 6
32C (high-speed counter/current value) 7 *1
TS (timer/contact) 8
CS (counter/contact) 9
TC (timer/coil) 10
CC (counter/coil) 11

*1 For numerical data format where double-words can be used (Num. Data Display, Graph, Sampling), data is
processed as double-words. For those where bits or words can be used, data is processed as words
consisting of lower 16 bits.
For input Upper 16 bits are ignored.
For output “0” is written for upper 16 bits.
31-2 31. VIGOR PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
PLC
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 RXD 2

RD 7 3 TXD 3

SG 5 7 SG 5
*1 Pin No. 1 of CN1 is used RTS 7
as FG.
The metal shell of the CTS 8
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.

RS-485
Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal
Pin No. Pin No. PLC
Name
Signal
*1 SHELL 1 Name

SG 5 7 SG

+SD 1 12 RDA

-SD 2 13 RDB

+RD 7 24 SDA
-RD 8 25 SDB
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
32. Yamatake PLC 32-1

32. Yamatake PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


MX series MX200/MX50 ASCII connector RS-232C [Wiring Diagram 1]

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 9600 bps 9600 bps
Port 1 1
Parity Even Even

Transmission Data length 8 8


code Stop bit 1 1

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memory TYPE Remarks


R (data register) 0
M (auxiliary relay) 1
L (latch relay) 2
X (input relay) 3
Y (output relay) 4
TP (timer/current value) 5
TS (timer/setting value) 6
CP (counter/current value) 7
CS (counter/setting value) 8
T (timer/contact) 9
C (counter/contact) 10
P (link register) 11
32-2 32. Yamatake PLC

Wiring
Wiring diagram with the PLC is shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal
Pin No.
*1 SHELL 1 Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 SG 7
*1 Pin No. 1 of CN1 is used
* Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
33. Yaskawa Electric PLC 33-1

33. Yaskawa Electric PLC

Available PLCs

Select PLC Type PLC Unit/Port Connection


JAMSC-IF60
JAMSC-IF61 RS-232C [Wiring Diagram 1]
GL60 series JAMSC-IF611
JAMSC-IF612
RS-422 [Wiring Diagram 5]
JAMSC-IF613
MEMOBUS
GL120 Memobus port on the CPU module RS-232C [Wiring Diagram 1]
GL130 series JAMSC-120NOM27100 RS-422 [Wiring Diagram 6]

PROGIC-8 PORT2 on the CPU unit RS-232C [Wiring Diagram 2]

RS-232C [Wiring Diagram 3]


CP9200SH CP-217IF [Wiring Diagram 4]
RS-422 [Wiring Diagram 7]
CP9200SH/MP900
Memobus port on the CPU module RS-232C [Wiring Diagram 1]
MP920
MP930 RS-232C [Wiring Diagram 3]
217IF
RS-422 [Wiring Diagram 8]

* Other PLCs can also be connected with Memobus.

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

Memobus

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 1 1
Parity Even Even

Transmission Data length 8-bit RTU (fixed) −


code Stop bit 1 1
Error check CRC (fixed) −
Port delay timer 0 (fixed) −

Select [TYPE 1] or [TYPE 2] for [Trans. Mode] in the [Comm. Parameter] dialog of the UG00S-CW
editor.

PLC Model POD Setting Contents


GL60 series, PROGIC-8 TYPE 1 Special binary code
GL120/130 series TYPE 2 Standard binary code
33-2 33. Yaskawa Electric PLC

CP9200SH/MP900

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 1 1
Parity Even Even

Transmission Data length 8 8


code Stop bit 1 1
Error check CRC (fixed) −
Port delay timer 0 (fixed) −

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

Memobus

Memory TYPE Remarks


4 (word device) 0
3 (input register) 1 Including constant register, read only
R (link register) 2
A (extension register) 3
0 (coil) 4
D (link coil) 5
1 (input relay) 6 Read only
7 (constant register) 7

CP9200SH/MP900

Memory TYPE Remarks


MW (holding register) 0 MB as bit device
IW (input register) 1 IB as bit device, read only
MB (coil) 4 MW as word device
IB (input relay) 6 IW as word device, read only

When setting the MB/IB memory, set the bit numbers in the MBxxxx
hexadecimal notation.
DEC
Bit No.: HEX
33. Yaskawa Electric PLC 33-3

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 RTS 4

CS 5 CTS 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used SGND 7
as FG.
The metal shell of the DTR 9
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 15-pin (male)

Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 TXD 2

RD 7 3 RXD 3

RS 4 RTS 4

CS 5 CTS 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used GND 7
as FG.
The metal shell of the DTR 9
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.
33-4 33. Yaskawa Electric PLC

Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male) CP217IF(CN1)
217IF(CN1/2)
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the * Use shielded twist-pair cables. CD 9
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 4

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
CP217IF (CN2)
Signal D-sub 25-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 DSR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the * Use shielded twist-pair cables. CD 8
modular jack 2 on the
UG230 is used as SG.
33. Yaskawa Electric PLC 33-5

RS-422
Wiring Diagram 5

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 9-pin (male)
Name
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 TXD+ 2

+SD 1 12 RXD+ 3

-SD 2 13 RXD- 6

+RD 7 24 SG 7
-RD 8 25 TXD- 9
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 6

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal D-sub 9-pin (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name Pin No.

SG 5 7 TXD+ 2

+SD 1 12 RXD+ 3

-SD 2 13 RXDRT 4

+RD 7 24 RXD- 6
-RD 8 25 SG 7
*1 Pin No. 1 of CN1 is used TXRD 8
as FG.
The metal shell of the TXD- 9
modular jack 2 on the
UG230 is used as SG. * Use shielded twist-pair cables.
33-6 33. Yaskawa Electric PLC

Wiring Diagram 7

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
CP217IF (CN3)
Signal MR-8 (male)
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Pin No.
Name

+SD 1 12 RX- 1

-SD 2 13 RX+ 2

+RD 7 24 TX- 6
-RD 8 25 TX+ 7
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.

Wiring Diagram 8

UG230 POD
MJ2 CN1 217IF (CN3)
RJ-45 8-pin D-sub 25-pin (male) MR-8 (male)

Signal Signal
Pin No. Pin No. Pin No.
Name Name

*1 SHELL 1 RX- 1

SG 5 7 RX+ 2

+SD 1 12 RXR+ 4

-SD 2 13 TRX+ 5

+RD 7 24 TX- 6
-RD 8 25 TX+ 7
*1 Pin No. 1 of CN1 is used SG 8
as FG.
The metal shell of the * Use shielded twist-pair cables.
modular jack 2 on the
UG230 is used as SG.
34. Yokogawa Electric PLC 34-1

34. Yokogawa Electric PLC

Available PLCs

Select PLC Ladder


CPU Unit/Port Connection PLC2Way
Type Transfer*4
LC01-0N RS-232C [Wiring Diagram 1]

FA500 FA500 RS-232C [Wiring Diagram 1]


LC02-0N
RS-422 [Wiring Diagram 3]
Programming tool port on the Yokogawa’s ladder transfer
CPU module*1 cable “KM11-2N”*2

FA-M3 FA-M3 F3LC01-1N*3


RS-232C [Wiring Diagram 2]
F3LC11-1N
F3LC11-2N RS-422 [Wiring Diagram 3]
Programming tool port on the Yokogawa’s ladder transfer
FA-M3R FA-M3 R CPU module*1 cable “KM11-2N”*2
F3LC12-1F RS-232C [Wiring Diagram 2]

*1 The CPUs that can be connected directly to the programming tool port on the CPU module are “F3SP21-0N,”
“F3SP25-2N,” “F3SP35-5N,” “F3SP28-3N,” “F3SP38-6N,” “F3SP53-4H” and “F3SP58-6H.”
*2 For connection to MJ2 of a UG230, use an UG30C-J adaptor plus KM11-2N.
*3 When the link unit “F3LC01-1N” is used, the communication setting and available memory are the same as
those for “FA-500.” However, B (common register) cannot be used.
*4 For the ladder transfer function, refer to “Appendix 8 Ladder Transfer Function.”
34-2 34. Yokogawa Electric PLC

Communication Setting
The recommended communication parameter settings of the PLC and the POD are as follows:

FA500

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 1 1
Parity Even Even

Transmission Data length 7 7


code Stop bit 1 1
Sumcheck Provided (fixed) −
Terminal character None (fixed) −
Protection function None (fixed) −

FA-M3/FA-M3R

Item Setting on PLC POD Comm. Parameter Setting


Baud rate 19200 bps 19200 bps
Port 1 1
Parity Even Even

Transmission Data length* 7 7


code Stop bit 1 1
Sumcheck Provided Provided
Terminal character None (fixed) −
Protection function None (fixed) −

* When directing connecting to the programming tool port on the CPU module, the data length is fixed to “8.”
Select [8-bit] for [Data Length] in the [Comm. Parameter] dialog of the POD.
Also, set “CPU Communication Port” of “Configuration” in the ladder creation tool as below.
Personal computer link function: Use

* The maximum baud rate available with the POD is 115200 bps.
Select the appropriate baud rate depending on the used PLC and environment.
34. Yokogawa Electric PLC 34-3

Available Memory
The available memory setting range varies depending on the PLC model. Be sure to set within the
range available with the PLC to be used. Use [TYPE] when assigning the indirect memory for macro
programs.

FA500

Memory TYPE Remarks


D (data register) 0
B (common register) 1
TP (timer/current value) 2
TS (timer/set value) 3
CP (counter/current value) 4
CS (counter/set value) 5
X (input relay) 6
Y (output relay) 7
I (internal relay) 8
E (external relay) 9

FA-M3/FA-M3R

Memory TYPE Remarks


D (data register) 0
R (common register) 1
V (index register) 2
W (link register) 3
Z (special register) 4
TP (down timer current value) 5
TS (timer set value) 6 Read only
CP (down counter current value) 7
CS (down counter set value) 8
X (input relay) 9
Y (output relay) 10
I (internal relay) 11
E (common relay) 12
L (link relay) 13
M (special relay) 14
B (file register) 15

* The CPU number is required in addition to the memory type and Example: 1 : D00001
address. The assigned memory is indicated when editing the screen
as shown on the right.
Address
Memory type
CPU number
34-4 34. Yokogawa Electric PLC

Wiring
Wiring diagrams with the PLC are shown below.

RS-232C
Wiring Diagram 1

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Pin No. Pin No. D-sub 25-pin (male)
Name
Signal Pin No.
*1 SHELL 1 Name

SD 8 2 SD 2

RD 7 3 RD 3

RS 4 RS 4

CS 5 CS 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used SG 7
as FG.
The metal shell of the ER 20
modular jack 2 on the * Use shielded twist-pair cables.
UG230 is used as SG.

Wiring Diagram 2

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)
PLC
Signal
Name Pin No. Pin No. D-sub 9-pin (male)

Signal
*1 SHELL 1 Name Pin No.

SD 8 2 RD 2

RD 7 3 SD 3

RS 4 ER 4

CS 5 SG 5
SG 5 7 DR 6
*1 Pin No. 1 of CN1 is used RS 7
as FG.
The metal shell of the * Use shielded twist-pair cables. CS 8
modular jack 2 on the
UG230 is used as SG.
34. Yokogawa Electric PLC 34-5

RS-422
Wiring Diagram 3

UG230 POD
MJ2 CN1
RJ-45 8-pin D-sub 25-pin (male)

Signal PLC
Pin No. Pin No.
Name
Signal
*1 SHELL 1 Name

SG 5 7 RDB

+SD 1 12 RDA

-SD 2 13 SDB

+RD 7 24 SDA
-RD 8 25 SG
*1 Pin No. 1 of CN1 is used * Use shielded twist-pair cables.
as FG.
The metal shell of the
modular jack 2 on the
UG230 is used as SG.
34-6 34. Yokogawa Electric PLC

Please use this page freely.


Appendix

Appendix 1 PLC2Way

Appendix 2 n : 1 Connection (Multi-link 2)

Appendix 3 n : 1 Connection (Multi-link)

Appendix 4 1 : n Connection (Multi-drop)

Appendix 5 Ethernet

Appendix 6 Universal Serial Communications

Appendix 7 UG-Link

Appendix 8 Ladder Transfer Function


Appendix 1 PLC2Way App1-1

Appendix 1 PLC2Way

PLC2Way

• The “PLC2Way” function is an original network function where one POD can be connected to two
PLCs. Even if the manufacturers of these PLCs are not the same, they can be connected to one
POD.
• When the POD or a UG230 equipped with UG230A-DCL is used, connect the first PLC to the CN1
connector. When a UG230 is used, connect the first PLC to MJ2. Connect the second PLC to the
MJ port (to MJ1 when a UG230 is used).

POD or UG230 + UG230A-DCL RS-232C


RS-422/RS-485

SYSTEM

F1

F2
CN1
POD
F3

F4

F5

F6

POWER
F7

MJ2/1
PLC (MITSUBISHI)

RS-232C
RS-422/RS-485 (2-wire connection)

PLC (Yokogawa)

UG230 RS-232C
RS-422/RS-485 PLC (MITSUBISHI)

MJ2
UG230
MJ1

RS-232C
RS-422/RS-485 (2-wire connection)

PLC (Yokogawa)
App1-2 Appendix 1 PLC2Way

• With the PLC2Way function, it is possible to communicate with PLCs without special program in
the same way as 1 : 1 connection.
Two PLCs that are connected to the POD are controlled at the same time, and memory read/write
operations are available with these two PLCs.
• When the PLC2Way function is used, connection at the MJ port is possible via RS-232C or
RS-485 (2-wire connection).
With RS-232C, one PLC can be connected; with RS-485, a maximum of 31 PLCs can be
connected.
RS-232C
RS-422/RS-485

SYSTEM

F1

F2
CN1
F3

POD F4

F5

F6

POWER
F7

MJ2/1
PLC RS-422/RS-485 (2-wire connection)

PLC1 PLC2 (n == 11 ~to31)


PLCn (n 31)

• Constant reading/sampling of PLC data connected to the PLC2Way


When read/write memory addresses are preset on the temperature control network/PLC2Way
table, background data transfering is performed at regular intervals. It is also possible to save the
read data in the POD internal buffer, SRAM or CF card.
• Data transfer between PLCs
The PLC memory data can be transferred to another PLC in blocks using a macro command.

For the description of 1 : 1 connection, refer to “Chapter 1.”


Hereunder the PLC connection at the MJ port and settings required for PLC2Way connection are
described.

Limitations on Connection at PLC2Way


There are some limitations on the connection at the MJ port.
1. It is not possible to make a selection for text processing in the communication parameter setting.
Text processing: Fixed to [LSB → MSB].
2. Even if a communication error occurs, it is not possible to stop communications.
Error codes are stored in $s730 to 761 for each station.
3. Connections using both the PLC2Way and multi-link 2 functions are possible at the same time
when the UG30 Series system program is version 1.010 (for UG20 Series: version 1.290) or later
and the UG00S-CW editor is version 3.0.0.0 or later.
Appendix 1 PLC2Way App1-3

PLCs Compatible with PLC2Way Connection at MJ Port

• When connecting the POD to the PLC at the MJ port using PLC2Way function, use the RS-232C
or RS-485 (RS-422) 2-wire connection. The PLC that allows RS-485 (RS-422) (4-wire) connection
only cannot be connected directly.
• PLCs compatible with PLC2Way connection at MJ port as of March, 2005 are shown below.

Manufacturer Applicable PLCs See:


Fuji Electric FA page 8-1
Hitachi page 10-1
Matsushita
page 15-1
Electric Works
MITSUBISHI For the applicable PLCs, refer to “PLC2Way” under “Available PLCs” in page 16-1
ELECTRIC “Chapter 2” to “Chapter 34.”
OMRON ( : Connectable : Not connectable) page 19-1
SHARP page 22-1
Toyoda
page 29-1
Machine Works
Yokogawa
page 34-1
Electric

For the applicable PLCs, refer to “PLC2Way” under “Available PLCs” in “Chapter 2” to “Chapter
34.” ( : Connectable : Not connectable)
• The communication parameter setting and available memory for the PLC connected at the MJ port
for PLC2Way connection are the same as those for 1 : 1 connection. Refer to the communication
setting and the available memory for each manufacturer in “Chapter 2” to “Chapter 34.”
App1-4 Appendix 1 PLC2Way

Wiring
Two kinds of cables are available for PLC2Way connection at the MJ port. Cable connections are
explained.

Connecting Method 1 (Using UG30C-M)


• To connect the PLC and the POD at the MJ port, use our MJ to D-sub conversion cable
“UG30C-M” (0.3 m, metric thread) and the cable for 1 : 1 connection at CN1.
For more information on the cable for 1 : 1 connection at CN1, refer to “Wiring” in “Chapter 2” to
“Chapter 34.”
• This combination of cables (UG30C-M + 1 : 1 connection cable) can be used either for RS-232C or
RS-485 (RS-422) 2-wire connection.

SYSTEM

F1

F2 1 : 1 connection cable
POD
F3

F4

UG30C-M (RS-232C, RS-485/RS-422)


F5

F6

POWER
F7

MJ2/1

• With RS-485 (2-wire connection), a maximum of 31 PLCs can be connected.


For information on connection between PLCs, refer to the instruction manual for the PLC.

Connecting Method 2 (Using UG00C-P)


• Use our cable “UG00C-P” (3 m) when connecting the POD to a PLC at the MJ port.
The shielded cable of UG00C-P is connected to FG (frame ground) when the UG30/20 Series is
used and to SG (signal ground) when the UG230 is used.
UG00C-P
* Notes on Use of UG00C-P
There are six wires in the UG00C-P cable as shown
Black :1
on the right. Green :2
The wires to be used are determined depending on Brown :4
the connecting method. Red :5
For the wires not used, be sure to properly insulate Orange :7
Yellow :8
with tape, etc.

<RS-232C Connection>
• Connection example with MITSUBISHI A1SJ71UC24-R2

Modular jack, 8-pin


Signal
Pin No. PLC
Name
Signal
*1 Pin No.
Name

SD 8 CD 1

RD 7 RD 2

SG 5 SD 3
*1 UG00C-P is connected SG 5
to FG when the POD is
used and to SG when DR 6
the UG230 is used.
RS 7
* Use shielded cables. CS 8
Appendix 1 PLC2Way App1-5

<RS-485 Connection>
• Connection example with MITSUBISHI A1SJ71UC24-R4 (1 set)

Modular jack, 8-pin


Signal
Name
Pin No. PLC
Signal
*1 Name

+SD/RD 1 SDA

-SD/RD 2 SDB

SG 5 RDA
*1 UG00C-P is connected to FG RDB
when the POD is used and to
SG when the UG230 is used. SG
* Use shielded cables.

• Connection example with MITSUBISHI A1SJ71UC24-R4 (3 sets)

Modular jack, 8-pin PLC PLC PLC


Signal Signal Signal Signal
Pin No.
Name UG00C-P Name Name Name

*1 FG FG FG

+SD/RD 1 SDA SDA SDA

-SD/RD 2 SDB SDB SDB

SG 5 RDA RDA RDA


Terminating
RDB RDB RDB
resistance
(ON)
SG SG SG
*1 UG00C-P is * Use shielded cables. Terminating * Use shielded Terminating * Use shielded Terminating
connected to FG resistance twist-pair cables. resistance twist-pair cables. resistance
when the POD is (ON) (OFF) (ON)
used and to SG
when the UG230 is
used.

Terminating Resistance Setting


For UG30/20 Series:
• The terminating resistance should be set on the DIP switch in the backside of the unit.
• When MJ1 is used: Set DIPSW6 to the ON position.
When MJ2 is used: Set DIPSW8 to the ON position.

ON

1 2 3 4 5 6 7 8

MJ2 (modular jack 2) terminating resistance


CF auto load CN1 RD terminating resistance at pins 24 and 25
Not used
MJ1 (modular jack 1) terminating resistance
CN1 SD terminating resistance at pins 12 and 13
App1-6 Appendix 1 PLC2Way

For UG230:
• The terminating resistance should be set on the DIP switch in the side of the unit.
• Set DIPSW1 to the ON position.

Side View MJ1 (modular jack 1) terminating resistance for RS-485


MJ2 (modular jack 2) SD terminating resistance for RS-422
MJ2 (modular jack 2) RD terminating resistance for RS-422
CF auto load (for USB/UG230A-DCL)

1 2 3 4
ON

(Enlarged view)

UG00S-CW Setting
PLC model selection and parameter setting to be made on the UG00S-CW editor for the PLC2Way
connection at the MJ port are explained.

Temp. CTRL/PLC2Way Setting


Select the PLC model and make the parameter setting as described below.
1. Select [System Setting] → [Temp. CTRL/PLC2Way Setting] → [Temp. CTRL/PLC2Way Comm.
Setting]. The [Temp. Control/PLC2Way Comm. Setting] dialog is displayed.

2. Check [Use Temp. Control Network/PLC2Way Communication].


Appendix 1 PLC2Way App1-7

3. Select the MJ port.


Click the [Refer to modular] button. The [Modular Jack] dialog is displayed.
Select [Temp./PLC2Way] for modular jack 1 or 2 that is used for PLC2Way communication.

4. Select the PLC model to be connected at the MJ port.

1) Click the [Setting] button. The [Type Setting] dialog is displayed.


2) Select [PLC2Way]. The PLC manufacturer names who support PLC2Way communication are
displayed.
3) Click [+]. The available model names of the selected manufacturer are displayed.
4) Select the PLC model name and click [OK]. The message communication “Will take default on
Comm. Parameter. OK?” is displayed.
5) Click [Yes].

5. Set the parameters for the PLC to be connected at the MJ port.


App1-8 Appendix 1 PLC2Way

[Baud Rate] (4800, 9600, 19200, 38400, 57600, 115000, 115k, bps)
Select the communication speed with the PLC connected at the MJ port.
[Parity] (None/Odd/Even)
Select the parity setting for communications with the PLC connected at the MJ port.
[Signal Level] (RS-232C/RS-485)
Select the signal level for communications with the PLC connected at the MJ port.
[Data Length] (7-bit/8-bit)
Select the data length for communications with the PLC connected at the MJ port.
[Stop Bit] (1-bit/2-bit)
Select the stop bit setting for communications with the PLC connected at the MJ port.
[Retrials]
Set the number of retrials to be attempted in the case that a communication error occurs.
[Time-out Time] (× 100 msec)
Select the receive time of the response from the PLC connected at the MJ port. If no response
is received within the specified time, a retrial is attempted.
[Send Delay Time] (× msec)
Set a time delay in sending the response to the PLC after receipt of data from the PLC
connected at the MJ port.
[Return Time] (× 10 sec)
When the PLC in the PLC2Way communication is turned off, data read from the PLC is
temporarily prohibited. An inquiry for restoration is sent each time the specified return time
has elapsed.
[Code] (DEC/BCD)
Choose the code for entering numerical data into the PLC in the PLC2Way communication.
For numerical data, such as those for data displays or data sampling in the sampling mode,
BCD or DEC should be chosen for [Input Type].

• The following options may be set depending on the PLC model.


- MITSUBISHI: A series Link, FX series Link (A Protocol)
[Trans. Mode] (Trans. Mode 1/Trans. Mode 4)
Trans. Mode 1: Without CR/LF
Trans. Mode 4: With CR/LF
- OMRON: SYSMAC C, SYSMAC CV, SYSMAC CS1
[Trans. Mode] (Trans. Mode 1/Trans. Mode 2)
Trans. Mode 1: Standard (BCD without signs)
Trans. Mode 2: Special BCD (BCD with sign)
- Yokogawa: FA-M3, FAM3R
[Trans. Mode] (with sum check/without sum check)
6. To reset the setting, click the [Default] button, or set the desired value.

Text Processing
For the PLC connected at the MJ port, text processing cannot be set in the [Temp. Control/PLC2Way
Comm. Setting] dialog.
• Text processing
For processing characters, the arrangement 15 0
of the 1st and 2nd bytes in one word is fixed [LSB → MSB] MSB LSB
as LSB → MSB as shown on the right. 2nd byte 1st byte
Appendix 1 PLC2Way App1-9

PLC2 Memory Setting


Setting the PLC memory (PLC2 memory) connected at the MJ port
1. Open the [Memory Input] dialog for the part.

2. For the PLC memory connected at the MJ port, select [PLC2 Memory] for [Type] and specify the
memory address.
3. Set the port number of the PLC.

Temperature Control Network/PLC2Way Table


The following operations are available when the temperature control network/PLC2Way table is used.
• “Reading the PLC2 Memory” (page App1-13)
• “Writing into PLC2 Memory (UG30 Series only)” (page App1-17)
• “Sampling from the PLC2 Memory” (page App1-22)
• “Transferring Data in the PLC2 Memory” (page App1-25)

Starting
1. Click [System Setting] → [Temp. CTRL/PLC2Way Setting] → [Temp. CTRL/PLC2Way Network
Table].
* [Temp. CTRL/PLC2Way Network Table] becomes active only when the setting in the [Temp.
Control/PLC2way Comm. Setting] dialog has been completed as described in the previous
section.

2. Set the temperature control network/PLC2Way table number (0 to 31) and click [OK].
3. The [Temp. Network/PLC2Way Table Edit] window is opened.
App1-10 Appendix 1 PLC2Way

There are 32 tables of temperature control network/PLC2Way table No. 0 to 31. A maximum of
128 addresses of the PLC2 memory can be set.

Closing
Click [Close] in the drop-down menu, or click the [Close] button at the top right corner.

Comment Setting
There are 32 temperature control network/PLC2Way tables and a comment can be set for each table.

1. Click [Edit] → [Comment]. The [Comment Setting] dialog is displayed.

2. Enter the desired comment and click [OK]. The entered comment is displayed at the top right
corner.
Appendix 1 PLC2Way App1-11

Setting Data in the Table


1. Click on a line in the table. The selected line turns blue.

Click.

2. Double-clicking brings up the default setting for the PLC2 memory, data type, etc.

(1) Click. (2) Click. (3) Double-click.

Temperature control
Memory input Data code network/PLC2Way table setting

1) [Memory Input] dialog


Set the PLC2 memory.

2) Data code

[Word]
Data in the PLC2 memory is handled as numerical data of one word.
Data is converted to the numerical data code of the target memory address and
transferred to the address.
[Double Word]
Data in the PLC2 memory is handled as numerical data of two words.
Data is converted to the numerical data code of the target memory address and
transferred to the address.
[Bit]
Data in the PLC2 memory is handled as bit information of one word.
Data is transferred to the target memory address without conversion.
App1-12 Appendix 1 PLC2Way

[Dummy Word] [Dummy Double]


The memory addresses for [PLC Memory] and [Internal Memory] are automatically
allocated consecutively in the [Temp. CTRL/PLC2Way Table Setting] dialog. If you would
like to skip any memory address, keep the cell in the [Temp. CTRL/PLC2 Mem.] column
blank (no setting). It is regarded as a dummy word or double-word.
- For reading: “0” is always stored in the target memory address. The memory is not
usable for any other purposes.
- For writing: The memory is usable for other purposes.

<Example: [Word] [Bit]>


Data transfer using the temperature control network/PLC2Way table is based on the
[Code] settings in the [Comm. Parameter] dialog and the [Temp. Control/PLC2Way Comm.
Setting] dialog plus the [Data Type] setting in the [Temp. Network/PLC2Way Table Edit]
window. Within the POD, data is normally handled as DEC with signs.
• [Word] [Double Word]
Code Bit
Temperature MSB LSB
Temperature control/PLC2Way 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
control/PLC2 memory communication setting 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
BCD
Periodical MSB LSB
reading 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POD internal memory DEC
0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0

Communication MSB LSB


parameter setting 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEC 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0
PLC memory
Communication MSB LSB
parameter setting 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCD 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

• [Bit]
Code Bit

Temperature
Temperature control/PLC2Way
control/PLC2 memory communication setting
BCD
MSB LSB
Periodical
reading 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POD internal memory DEC
0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Communication
PLC memory parameter setting
DEC
BCD

3) [Temperature Control Network/PLC2Way Table Setting] dialog


In this dialog, set the use of each table.
• TEMP_READ, TEMP_WRITE
• Periodical Reading
• Synchronized Reading
• Periodical Writing
• Synchronized Writing
Appendix 1 PLC2Way App1-13

Reading the PLC2 Memory


It is possible to read data from the PLC2 memory registered in the temperature control
network/PLC2Way table into the PLC memory (or the POD internal memory). Reading can occur at
regular intervals ([Periodical Reading]) or at the time of bit setting ([Synchronized Reading]).

Periodical Reading

Data is read from the PLC2 memory into the PLC memory (or the POD internal memory) at regular
intervals as set in the [Temp. CTRL/PLC2Way Table Setting] dialog.

Data SYSTEM

F1

F2

F3
PLC
F4

PLC2
F5

F6

FA C TO RY

ACE
F7

PROGRAMMER
MJ CN1
POWER

PLC2 memory Temp. Network/PLC2Way tables → PLC Memory


D500 21 D100 0
Table No. 0
D501 23 Temp. D101 0
CTRL/PLC2 Mem. → PLC Memory
D500 D100
D501 D101

Read cycle 5 sec.

5 seconds later, data is read from the PLC2


memory set in table No. 0.

PLC2 memory → PLC Memory


D500 22 D100 22
D501 23 D101 23

5 seconds later, data is read from the PLC2


memory set in table No. 0.

PLC2 memory → PLC Memory


D500 23 D100 23
D501 20 D101 20
App1-14 Appendix 1 PLC2Way

Setting Items
Setting items necessary for periodical reading
• “Temperature Control Network/PLC2Way Table” (page App1-9)
• Temperature control network/PLC2Way table setting

Disabled when [Periodical


Reading] is selected.

[Periodical Reading]
Select [Periodical Reading]. The following setting items become active.
[Read Cycle] (sec)
Set the cycle of reading data in the PLC2 memory.

Read Cycle
[High Speed Reading]
Setting Range Unit
Unchecked 1 - 3600 1s
Checked 1 - 3600 100 ms

[→ PLC Memory]
When storing data read from the PLC2 memory into the PLC memory, check this box and set
the desired top memory address.
[→ Internal Memory]
When storing data read from the PLC2 memory into the POD internal memory, check this box
and set the desired top memory address.
[Control Memory]
This option is disabled when [Use Periodical Reading] is selected.
[Temp./PLC2Way Comm. Setting]
Clicking this button brings up the [Temp. CTRL/PLC2Way Comm. Setting] dialog and allows
you to review the setting.
Appendix 1 PLC2Way App1-15

Synchronized Reading (UG30 Series only)


It is possible to read from the temperature control network/PLC2Way table memory into the PLC
memory (POD internal memory) at the leading edge (0 → 1) of a control memory bit.

Data SYSTEM

F1

F2

F3
PLC
F4

PLC2
F5

F6

FA C TO RY

ACE
F7

PROGRAMMER
MJ CN1
POWER

PLC2 memory Temp. Network/PLC2Way tables → PLC Memory

D500 21 D100 0
Table No. 0
D501 23 Temp. D101 0
CTRL/PLC2 Mem. → PLC Memory Control Memory
D500 D100
D200
D501 D101
D201
D202
Control Memory D200 D203

Table No. 0 control memory bit ON


→ PLC Memory
D100 0
D101 0
Control Memory
D200
D201
D202
D203

Reading the table No. 0 PLC2 memory


and setting (ON) the confirmation → PLC Memory
memory bit D100 21
D101 23
Control Memory
D200
D201
D202
D203
App1-16 Appendix 1 PLC2Way

Setting Items
Setting items necessary for synchronized reading
• “Temperature Control Network/PLC2Way Table” (page App1-9)
• Temperature control network/PLC2Way table setting

[Synchronized Reading]
Select [Synchronized Reading]. The following setting items become active.
[→ PLC Memory]
When storing data read from the PLC2 memory into the PLC memory, check this box and set
the desired top memory address.
[→ Internal Memory]
When storing data read from the PLC2 memory into the POD internal memory, check this box
and set the desired top memory address.
[Control Memory]
Select the memory address as a trigger for reading the temperature control network/PLC2Way
memory.
The specified memory address is used for temperature control network/PLC2Way table Nos. 0
to 31. For more information, refer to “Control Memory” (page App1-21).
[Temp./PLC2Way Comm. Setting]
Clicking this button brings up the [Temp. CTRL/PLC2Way Comm. Setting] dialog and allows
you to review the setting.
Appendix 1 PLC2Way App1-17

Writing into PLC2 Memory (UG30 Series only)


It is possible to write data from the PLC memory or the POD internal memory into the PLC2 memory
registered in the temperature control network/PLC2Way table. Writing can occur at regular intervals
([Periodical Writing]) or at the time of bit setting ([Synchronized Writing]).

Periodical Writing

Data is written from the PLC memory (POD internal memory) into thePLC2 memory at regular intervals
as set in the [Temp. CTRL/PLC2Way Table Setting] dialog.

Data SYSTEM

F1

F2

F3
PLC
F4

PLC2
F5

F6

FA C TO RY

ACE
F7

PROGRAMMER
MJ CN1
POWER

PLC2 memory Temp. Network/PLC2Way tables ← PLC Memory

D500 21 Table No. 0 D100 30


D501 23 Temp. D101 30
CTRL/PLC2 Mem. ← PLC Memory
D500 D100
D501 D101

Write cycle 5 sec.

PLC2 memory ← PLC Memory


5 seconds later, data is written
D500 25 D100 25
from the PLC memory into the
D501 25 D101 25
PLC2 set in table No. 0.

PLC2 memory ← PLC Memory


D500
5 seconds later, data is written D100 22
22
D501 22 from the PLC memory into the D101 22
PLC2 set in table No. 0.
App1-18 Appendix 1 PLC2Way

Setting Items
Setting items necessary for periodical writing
• “Temperature Control Network/PLC2Way Table” (page App1-9)
• Temperature control network/PLC2Way table setting

Disabled when [Periodical


Writing] is selected.

[Periodical Writing]
Select [Periodical Writing]. The following setting items become active.
[Write Cycle] (sec)
Set the cycle of writing data in the PLC2 memory.

Read Cycle
[High Speed Reading]
Setting Range Unit
Unchecked 1 - 3600 1s
Checked 1 - 3600 100 ms

[← PLC Memory]
Check this item when writing data from the PLC memory into the PLC2 memory. Enter the
desired top memory address.
[← Internal Memory]
Check this item when writing data from the internal memory into thePLC2 memory. Enter the
desired top memory address.
[Control Memory]
This option is disabled when [Periodical Writing] is selected.
[Temp./PLC2Way Comm. Setting]
Clicking this button brings up the [Temp. CTRL/PLC2Way Comm. Setting] dialog and allows
you to review the setting.
Appendix 1 PLC2Way App1-19

Synchronized Writing (UG30 Series only)


Data is written from the PLC memory (POD internal memory) into the PLC2 memory set in the
temperature control network/PLC2Way table at the leading edge (0 → 1) of the control memory bit.

Data SYSTEM

F1

F2

F3
PLC
F4

PLC2
F5

F6

FA C TO RY

ACE
F7

PROGRAMMER
MJ CN1
POWER

Temp. Network/PLC2Way tables


PLC2 memory ← PLC Memory
D500 21 Table No. 0 D100 200
D501 23 Temp. D101 300
CTRL/PLC2 Mem. ← PLC Memory Control Memory
D500 D100
D200
D501 D101
D201
D202
Control Memory D200 D203

Table No. 0 control memory


← PLC Memory
bit ON
D100 200
D101 300

D200
D201
D202
D203

PLC2 memory ← PLC Memory


Data is written from the PLC
D500 200 D100 200
D501 300 memory into the PLC2 memory D101 300
set in table No. 0. The
confirmation memory bit is set
D200
(ON). D201
D202
D203
App1-20 Appendix 1 PLC2Way

Setting Items
Items that must be set to perform synchronized writing
• “Temperature Control Network/PLC2Way Table” (page App1-9)
• Temperature control network/PLC2Way table setting

[Synchronized Writing]
Select [Synchronized Writing]. The following setting items become active.
[← PLC Memory]
Check this item when writing data from the PLC memory into the PLC2 memory. Enter the
desired top memory address.
[← Internal Memory]
Check this item when writing data from the internal memory into thePLC2 memory. Enter the
desired top memory address.
[Control Memory]
Enter a memory address as the trigger for writing from the PLC2 memory (or the POD internal
memory).
The specified memory address is used for temperature control network/PLC2Way table Nos. 0
to 31. For more information, refer to “Control Memory” (page App1-21).
[Temp./PLC2Way Comm. Setting]
Clicking this button brings up the [Temp. CTRL/PLC2Way Comm. Setting] dialog and allows
you to review the setting.
Appendix 1 PLC2Way App1-21

Control Memory
Control memory becomes effective for executing synchronized reading/synchronized writing.
Consecutive four words starting from control memory “n” are allocated.

Control memory n Contents Memory Type


n
Read/Write command memory → UG
n+1
n+2
Read/Write confirmation memory ← UG
n+3

[Read/Write command memory] (control memory “n” and “n + 1”)


One bit is allocated to each table.
At the leading edge (0 → 1) of a bit, reading from or writing to memory set in the corresponding
temperature control network/PLC2Way table occurs.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit number
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Temperature control network/PLC2Way table Nos. 0 - 15

n+1

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit number
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Temperature control network/PLC2Way table Nos. 16 - 31

[Read/Write confirmation memory] (control memory “n + 2” and “n + 3”)


One bit is allocated to each table.
When a bit of the control memory “n” or “n + 1” is set (ON), the confirmation memory bit for the
corresponding table number is set (0 → 1). When a bit of the control memory “n” or “n + 1” is reset
(OFF), the confirmation memory bit for the corresponding table number is reset (1 → 0).

n+2

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit number

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Temperature control network/PLC2Way table Nos. 0 - 15

n+3

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit number

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Temperature control network/PLC2Way table Nos. 16 - 31

* Confirmation memory bit ON (0 → 1) timing


When the bit of the command memory is set (0 → 1) and the resulting reading or writing is
complete, the bit of the confirmation memory is set (ON).
App1-22 Appendix 1 PLC2Way

Sampling from the PLC2 Memory


It is possible to sample data in the PLC2 memory at regular intervals.

Setting Items
Setting necessary for constant sampling
• “Temperature Control Network/PLC2Way Table” (page App1-9)
• Temperature Control Network/PLC2Way Table Setting
• Buffering area setting
• Trend sampling or data sampling
• Memory card setting
(when [SRAM] or [CF Card] is selected for [Store Target] in the [Buffering Area Setting] dialog)

Temperature Control Network/PLC2Way Table Setting

Disabled when [Periodical


Reading] is selected.

[Periodical Reading]
Select [Periodical Reading]. The following setting items become active.
[Read Cycle] (sec)
Set the cycle of reading data in the PLC2 memory.

Read Cycle
[High Speed Reading]
Setting Range Unit
Unchecked 1 - 3600 1s
Checked 1 - 3600 100 ms

[→ PLC Memory] [→ Internal Memory]


Do not check these boxes.
Since sampling data is stored in the internal buffer, SRAM or CF card, it is not necessary to set
these items.
[Control Memory]
This option is disabled when [Use Periodical Reading] is selected.
[Temp./PLC2Way Comm. Setting]
Clicking this button brings up the [Temp./PLC2Way Comm. Setting] dialog and allows you to
review the setting.
Appendix 1 PLC2Way App1-23

Buffering Area Setting


Click [System Setting] → [Buffering Area Setting]. The [Buffering Area Setting] dialog is opened.

[Sampling Method]
Temp. Control Net/PLC2
[No. of Table]
Select the temperature control network/PLC2Way table number for sampling.
[No. of Samples]
Specify the number of sampling times.
[Output File No.]
This item becomes active when [SRAM] or [CF Card] is selected for [Store Target].
[Store Target] (Internal Buffer/SRAM/CF Card)
Choose the desired medium for storing sampling data.
- Internal Buffer: Stores data in the internal buffer of the UG30 Series.(RAM)
- SRAM: Stores data in the SRAM area.
UG30 Series: SRAM mounted on the unit, UG30P-SR, UG230P-SR, UG00K-Sxx
UG20 Series: UG00P-SR, UG221P-SR, UG00K-Sxx
- CF Card: Stores data in the CF card. (UG30 Series, UG320HD)
[Full Processing] (Continuous/Stop)
Choose the desired processing when the target medium space has been used up.
- Continuous: When [No. of Samples] has been exceeded, data from the oldest is
discarded.
- Stop: When [No. of Samples] has been exceeded, sampling is stopped.

• Calculating the buffering area capacity


When [Internal Buffer] is selected for [Store Target] in the [Buffering Area Setting], the maximum
available capacity is 32k words.
When [Temp Control Net/PLC2] is selected for [Sampling Method], the required capacity can be
calculated as shown below.

1 sample = [Words*] + 2 words


Buffer size = [No. of Samples] × 1 sample
* [Words] here means the number of words in the memory addresses used in the temperature
control network/PLC2Way table that is set for [No. of Table].
App1-24 Appendix 1 PLC2Way

Trend Sampling or Data Sampling Setting


To show data stored in the specified buffer number, trend sampling or data sampling must be set.
Click the [Trend Sampling] or [Data Sampling] icon and make the setting.
For more information, refer to the User’s Manual <Function> (FEH376).
Trend sampling Data sampling

Memory Card Setting


When [SRAM] or [CF Card] is selected for [Store Target] in the [Buffering Area Setting] dialog, the
memory card setting is required.
* The used memory capacity of SRAM and CF card can be calculated in the same way as the
buffering area.
1. Click [System Setting] → [Memory Card Setting]. The [Memory Card] dialog is opened.

2. Select [Buffering File] for [Type].


3. Match the file number (tab) in the [Memory Card] dialog with [Output File No.] in the [Buffering
Area Setting] dialog.

Select the tab of the same number.


Appendix 1 PLC2Way App1-25

Transferring Data in the PLC2 Memory


Data in the PLC2 memory can be transferred to the PLC memory, POD internal memory or a memory
card at one time according to the temperature control network/PLC2Way table. Conversely, it is also
possible to transfer data in the PLC memory, POD memory or a memory card to the PLC2 memory at
one time.
To transfer data at one time, use a macro command (TEMP_READ/ TEMP_WRITE).

Setting Items
Setting necessary for trasferring PLC2 memory
• “Temperature Control Network/PLC2Way Table” (page App1-9)
• Temperature Control Network/PLC2Way Table Setting
• Macro (TEMP_READ/TEMP_WRITE)
• Memory card setting (when a memory card is used)

Temperature Control Network/PLC2Way Table Setting

Disable when [TEMP_READ/WRITE]


is selected.

[TEMP_READ/WRITE]
Select [TEMP_READ/WRITE].

Macro
[TEMP_READ]
Data in the PLC2 memory addresses set in the temperature control network/PLC2Way table
specified for F1 is transferred to the memory addresses starting from F0.
Usable Devices
Internal Constant (Temperature Indirect
PLC Memory Memory Card
Memory Control Table No.) Designation
F0
F1

TEMP_READ: Temperature control network table read


TEMP_READ F0 <- TABLE : F1
App1-26 Appendix 1 PLC2Way

[TEMP_WRITE]
Data in memory addresses starting from F1 is transferred to the PLC2 memory of the
temperature control network/PLC2Way table specified for F0.
Usable Devices
Internal Constant (Temperature Indirect
PLC Memory Memory Card
Memory Control Table No.) Designation
F0
F1

TEMP_WRITE: Temperature control network table write


TEMP_WRITE TABLE : F0 <- F1

Memory Card Setting


The memory card setting should be made when the memory card is used as the source or target
memory for a macro command.
1. Click [System Setting] → [Memory Card Setting].
The [Memory Card] dialog is opened.
2. Select [Data File] for [Type].
Check [Use Temp. Control Net/PLC2Way].
3. Click the [Table No.] button and select the table
number to be used. The appropriate number is
automatically set for [No. of Data].
Appendix 1 PLC2Way App1-27

Indirect Memory Designation


It is possible to have access to the PLC2 memory using the indirect memory designation as a macro
command.
In this section, the indirect designation of the PLC2 memory is explained.
The internal user memory ($u/$T) is used for the indirect memory designation. $L/$LD is not available.

Designating the indirect memory


• PLC2 memory
<0 to 65535> <65536 and above>
15 87 0 15 87 0

n+0 Model (03) Memory type n+0 Model (83) Memory type
n+1 Memory number (address) n+1 Memory number (address) upper
n+2 00 Bit designation n+2 Memory number (address) lower
n+3 00 Port n+3 00 Bit designation
n+4 00 Port number

- Memory type
Depends on the PLC model.
Refer to “Available Memory” in “Chapter 2” to “Chapter 34.” when setting.
- Port number
Set the port number of the PLC connected at the MJ port.

User Log Read for Yokogawa’s PLC


The user log set with Yokogawa’s PLC “FA-M3/FA-M3R” connected at the MJ port can be read using
the macro command TEMP_CTL.

Macro
[TEMP_CTL]
This macro command controls the operation set in the memory addresses starting from the one
specified for F0 for the number of words specified for F1.
Usable Devices
Indirect
PLC Memory Internal Memory Constant (Words) Memory Card
Designation
F0
F1

TEMP_CTL: Temperature controller/PLC2Way control function


TEMP_CTL F0 F1
F0 (= $u n) F1
n n+1 n+2 n+3 n+4 n+5 n+6 n+7 n+8 n+9 n + 10 n + 11 Words
User log
registration
Port CPU No. −1*1 Command Registration
− − − − − − − − 3
number (0 to 3) −1 number*2
number read

Header Main Sub


Year Month Day Hour Minute Second
Latest user Port CPU No. −1*1 Command 0: Normal code code 3
log read number (0 to 3) 0
−1: Error*3 (ASCII) (DEC)
Header Main Sub
Year Month Day Hour Minute Second
“n”th user log Port CPU No. −1*1 Command 0: Normal code code 3
read number (0 to 3) 1 to 63
−1: Error*3 (ASCII) (DEC)
Return data: Data stored from PLC2Way to POD
*1 Set “0” for CPU No. 1.
*2 The registration number is stored in special register Z105.
*3 If there is no user log in the “n + 2” memory or there is an error in communications, [−1] is stored.
App1-28 Appendix 1 PLC2Way

Processing Cycle
The processing cycle on the POD with the PLC2Way function is explained.
1. When the temperature control network/PLC2Way table is not used:

PLC data 1 PLC data 2 PLC2 data 1 PLC data 3 PLC2 data “n” PLC data “n”

1 cycle

Fig. 1

2. When the temperature control network/PLC2Way table is used:

PLC data 1 PLC data 2 PLC data 3 PLC data “n”

1 screen data read cycle

PLC2 data 1 PLC2 data 2 PLC2 data “n”

1 data read cycle from the PLC connected at the MJ port

Fig. 2

When the temperature control network/PLC2Way table is not used (Fig. 1), the POD does not
communicate with the PLC while it is communicating with the PLC2.
When the temperature control network/PLC2Way table is used (Fig. 2), the POD communicates with
the PLC and the PLC2 at the same time.
As a result, the POD can communicate with the PLC2 without reducing the processing capacity for
communication with the PLC.

When the temperature control network/PLC2Way table is used:


If periodical reading/writing or synchronized reading/writing based on the temperature control
network/PLC2Way table takes place while the POD is accessing the PLC2 memory via a macro
command, the progress of the macro execution may be delayed. To avoid this, it is possible to
temporarily stop reading from/writing into the PLC2 memory using the system memory addresses
($s762 and 764). For more information, refer to page App1-32.
Appendix 1 PLC2Way App1-29

Notes on Screen Data Transfer

Temperature Control/PLC2 Program


When using the temperature control network/PLC2Way communications, it is necessary to transfer the
temperature control/PLC2 program to the POD.
When the temperature control network/PLC2Way setting has been made, the program is automatically
transferred to the POD together with screen data.
When [ Temp./PLC2] is selected in the [Transfer] dialog, only the temperature control/PLC2
program can be transferred to the POD.

When the Main Menu screen is displayed after transferring screen data, the [Extension] switch
appears.
If the [Extension] switch does not appear, transfer font data.
Pressing the switch brings up the “Extension Program Info.” screen where the temperature
control/PLC2Way driver setting and temperature control network/PLC2way setting can be reviewed.
For details, refer to “Chapter 6, POD Operations” in the User’s Manual <UG30 Series Hardware>
(FEH377) and <UG230 Series Hardware> (FEH381).
App1-30 Appendix 1 PLC2Way

System Memory
The status of the PLC connected at the MJ port for PLC2Way communications is output to the system
memory ($s) of the POD.
The memory addresses ($s729 to 764) of the PLC connected at the MJ port are explained.

List

Address Contents
• •
• •
• •

$s729 TEMP_READ/TEMP_WRITE/TEMP_CTL macro execution result


730 Temperature controller/PLC2Way Station No. 00 status
731 Temperature controller/PLC2Way Station No. 01 status
732 Temperature controller/PLC2Way Station No. 02 status
733 Temperature controller/PLC2Way Station No. 03 status
734 Temperature controller/PLC2Way Station No. 04 status
735 Temperature controller/PLC2Way Station No. 05 status
736 Temperature controller/PLC2Way Station No. 06 status
737 Temperature controller/PLC2Way Station No. 07 status
738 Temperature controller/PLC2Way Station No. 08 status
739 Temperature controller/PLC2Way Station No. 09 status
740 Temperature controller/PLC2Way Station No. 10 status
741 Temperature controller/PLC2Way Station No. 11 status
742 Temperature controller/PLC2Way Station No. 12 status
743 Temperature controller/PLC2Way Station No. 13 status
744 Temperature controller/PLC2Way Station No. 14 status
745 Temperature controller/PLC2Way Station No. 15 status
746 Temperature controller/PLC2Way Station No. 16 status
747 Temperature controller/PLC2Way Station No. 17 status
748 Temperature controller/PLC2Way Station No. 18 status
749 Temperature controller/PLC2Way Station No. 19 status
750 Temperature controller/PLC2Way Station No. 20 status
751 Temperature controller/PLC2Way Station No. 21 status
752 Temperature controller/PLC2Way Station No. 22 status
753 Temperature controller/PLC2Way Station No. 23 status
754 Temperature controller/PLC2Way Station No. 24 status
755 Temperature controller/PLC2Way Station No. 25 status
756 Temperature controller/PLC2Way Station No. 26 status
757 Temperature controller/PLC2Way Station No. 27 status
758 Temperature controller/PLC2Way Station No. 28 status
759 Temperature controller/PLC2Way Station No. 29 status
760 Temperature controller/PLC2Way Station No. 30 status
761 Temperature controller/PLC2Way Station No. 31 status
762 Other than “0”: Periodical reading suspended
763 Other than “0”: Temperature control network/PLC2Way transfer macro forced execution
764 Other than “0”: Periodical/synchronized writing suspended
Appendix 1 PLC2Way App1-31

Details
$s729
An execution result of macro command TEMP_READ, TEMP_WRITE, or TEMP_CTL is stored at
this address.
- [0]: A command has been executed successfully.
- [Other than “0”]: A command execution has resulted in an error.

$s730-761
The following status code for the PLC connected at the MJ port is stored.

Code Contents
0000H Normal
FFFFH Timeout
8001H Check code error
8002H Data error
800BH Error code received from the PLC connected at the MJ port

Errors other than the above are stored as shown below.


MSB LSB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0

Buffer-full error
Parity error
Overrun error
Framing error
Break detection
Error
0: Bits 0 to 14 are all “0.”
1: Any bit 0 to 14 is not “0.”

Error Details Solution


Although a request to send is given to the PLC connected
Timeout at the MJ port, no answer is returned within the specified Check 1, 2, 3 described below.
time.
The check code in the PLC connected at the MJ port
Check code error Check 1, 3 described below.
response was not correct.
Data error The code of the received data is invalid. Check 1, 2, 3 described below.
Error code received An error occurs at the PLC connected at the MJ port. Refer to the instruction manual for the PLC.
Buffer full The POD buffer is full. Contact your local distributor.
Parity An error occurred in parity check. Check 2, 3 described below.
After one character is received, the next character is
Overrun Check 1, 3 described below.
received before internal processing is completed.
Framing Although the stop bit must be [1], it is detected as [0]. Check 1, 2, 3 described below.
Examine the connection between SD (TXD)
SD (TXD) of the PLC connected at the MJ port remains at
Break detection of the PLC connected at the MJ port and RD
the low level.
(RXD) of the POD.

Solution
1. Check the parameter setting of the PLC connected at the MJ port and the setting in the [Temp.
CTRL/PLC2Way Comm. Setting] dialog.
2. Check the cable connection.
3. Data may be disrupted because of noise. Fix noise.

* If you still cannot solve the error even after following the suggestions above, contact your local
distributor.
App1-32 Appendix 1 PLC2Way

$s762
Periodical or synchronized reading set in the [Temp. CTRL/PLC2Way Table Setting] dialog is
suspended.
- [0]: Periodical/synchronized reading is performed.
- [Other than “0”]: Periodical/synchronized reading is suspended.
• Example: Periodical reading
If periodical reading of the temperature control network/PLC2Way table is performed while the
PLC2 memory is being accessed using a macro command, the macro execution will be delayed
(Fig. a). To avoid this, periodical reading can be suspended using memory address $s762 (Fig. b).
(Fig. a) • TEMP_READ
• TEMP_WRITE
• TEMP_CTL
• MOV, BMOV, BSET,
BCLR, BINV
When the PLC2 memory is
used for the above command:

Execution of macro “a” Execution of macro “a”

POD communication cycle


T T+t

Temperature control network/


PLC2Way table periodical reading t

TEMP_CTL $u100 2 TEMP_CTL $u100 2 Temperature control


TEMP_CTL $u110 2 TEMP_CTL $u110 2 network/PLC2Way table
TEMP_CTL $u120 2 TEMP_CTL $u120 2
periodical reading

TEMP_CTL $u300 2 TEMP_CTL $u300 2

(Fig. b) Execution of macro “b” Execution of macro “b”

POD communication cycle T T

Temperature control network/


t
PLC2Way table periodical reading

$s762=1 $s762=1
TEMP_CTL $u100 2 TEMP_CTL $u100 2 Temperature control
TEMP_CTL $u110 2 TEMP_CTL $u110 2 network/PLC2Way
TEMP_CTL $u120 2 TEMP_CTL $u120 2 table periodical reading

TEMP_CTL $u300 2 TEMP_CTL $u300 2


$s762=0 $s762=0

$s763
Forced execution of macro commands [TEMP_READ] and [TEMP_WRITE] using the temperature
control network/PLC2Way table
- [0]: When any station that has failed is included in the specified table, the macro
command is not executed.
- [Other than “0”]: The macro command is forcibly executed to the stations that are working
properly.
Appendix 1 PLC2Way App1-33

$s764
Periodical or synchronized writing set in the [Temp. CTRL/PLC2Way Table Setting] dialog is
suspended.
- [0]: Periodical/synchronized writing is performed.
- [Other than “0”]: Periodical/synchronized writing is suspended.
For the example of the use of the address, refer to “$s762” on page “$s762” (page App1-32).
App1-34 Appendix 1 PLC2Way

Please use this page freely.


Appendix 2 n : 1 Connection (Multi-link 2) App2-1

Appendix 2 n : 1 Connection (Multi-link 2)

Multi-link 2

• One PLC is connected to a maximum of four UG30 Series units.


• An original network is created where the UG30 Series unit (Local Port 1) that is directly connected
to the PLC is the master station, and other three UG30 Series units are slave stations. Only the
master station makes communications directly with the PLC, and the slave stations make
communications with the PLC via the master station.
UG30 master station UG30 slave station UG30 slave station UG30 slave station

Local port 1 Local port 2 Local port 3 Local port 4

CN1 MJ2 CN1 CN1 CN1

RS-232C
RS-422
RS-485
Our cable RS-485 connection
“UG00C-H03” (3 m)

PLC
On a network with UG230 units, a PLC is connected to MJ2 of the master station, the MJ1 of the
master station is connected to MJ2 of the slave stations, and the slave stations are connected
with each other via MJ2.
UG230 master station UG230 slave station UG230 slave station UG230 slave station

Local port Local port Local port Local port


1 2 3 4

* MJ2 MJ1 MJ2 * MJ2 * MJ2 *

RS-232C
RS-422
RS-485
Our cable RS-485 connection
RUN ... ... ... ...
“UG00C-H03” (3 m)
... ... ... ...
STOP ... ... ... ...
... ... ... ...

* In the case of UG230 + UG230A-DCL, connect to “CN1.”


PLC

• Communications between the UG30 master station and the PLC depend on the communication
speed set on the PLC. The maximum available speed for the UG30 is 115 kbps, which is higher
than the one available with multi-link connection described in “Appendix 3, n : 1 Connection
(Multi-link).”
App2-2 Appendix 2 n : 1 Connection (Multi-link 2)

• This multi-link 2 connection is available with almost all the PLC models that support 1 : 1
connection (refer to the “Appendix”).
(The connection between the master station and the PLC is the same as the one for 1 : 1
connection.)
• Use the RS-485 2-wire connection between stations of the UG30. Please use our multi-link 2
master cable (UG00C-H03) for connection between the master station (local port 1) and the slave
station (local port 2).
• In the following cases, multi-link 2 connection is not available.
1. A communication interface unit (example: T-Link, OPCN-1, Ethernet, etc) is used.
2. The UG20 series (master or slave station) is used for the temperature control network or
PLC2Way function.
• The UG30 and UG20 Series can be used together. The UG20 Series can be the master station.
(However, when UG221/UG220 is the master station, the slave station must be UG221/UG220.
Also, depending on the hardware version of the UG20 Series, multi-link 2 connection may not be
supported. Refer to the User’s Manual <UG20 Hardware> (FEH352).)

Wiring

Connection
For UG30 Series:

PLC

Communications between UG30 Series: RS-485 (2-wire), maximum length = 500 m

(a) (b) (c) (d) (e)

CN1 MJ2 CN1 CN1 CN1


UG30 master station Terminal UG30 slave station UG30 slave station UG30 slave station
block
(= Local Port 1) (= Local Port 2) (= Local Port 3) (= Local Port 4)

(a) Connection between PLC ↔ UG30 master station


The communication parameter setting and connecting method are the same as those for 1 : 1
connection.
(Refer to “Chapter 2” to “Chapter 34.”)

(b)(c) Connection between master station ↔ UG30 slave station


The connecting port for the UG30 Series master station depends on the selection for
[Multi-Link] (either [Modular Jack 1] or [Modular Jack 2]) on the UG00S-CW editor. Selection
of [Modular Jack 2] is recommended. ([Editor Port] is set as default for [Modular Jack 1].)
The connecting port of the UG30 Series slave station should be CN1. It is recommended that
CN1 be equipped with a terminal converter “UG00P-TC” (set to 2-wire connection).
The multi-link 2 master cable (b) (UG00C-H03) is 3 m long.
If the distance (c) between the UG30 Series master station and the UG30 Series slave station
is longer than 3 m, use a terminal block and connect the cables.

(d)(e) Connection between UG30 slave station ↔ UG30 slave station


Use the RS-485 2-wire connection.
It is recommended that CN1 be equipped with a terminal converter “UG00P-TC” (set to 2-wire
connection).

(b)(c)(d)(e) The maximum length between UG30 Series should be 500 m.

* To avoid line-noise problems, connect one terminal only so that the shielded frame ground of each
cable will not be connected between the UG30 Series.
The shielded frame ground of UG00C-H03 must be connected to the UG30 Series master station.
Appendix 2 n : 1 Connection (Multi-link 2) App2-3

* When the terminal converter “UG00P-TC” is not used, install jumpers between +RD/+SD and
−RD/−SD.
(b) (c) (d) (e)

UG30 master To be installed by the user UG30 slave station UG30 slave station UG30 slave station
station MJ1/2 Terminal block CN1 + UG00P-TC CN1 + UG00P-TC CN1 + UG00P-TC

Signal Signal Signal Signal


Name Name Name Name
FG FG FG
+ +SD +SD
+ +SD
-
- -SD -SD -SD

+RD +RD +RD

-RD -RD -RD


SG
SG SG SG SG

Terminating resistance Terminating resistance Terminating resistance Terminating resistance


(ON) (OFF) (OFF) (ON)

For UG230:
For UG230 + UG230A-DCL, refer to “For UG30 Series:” above.

PLC
*3
Communications between UG230: RS-485 (2-wire), maximum length = 500 m

(a) (b) (d) (e)

Terminal block Terminal block Terminal block

(c) *1 (c) *1 (c) *1


MJ2 MJ1 MJ2 *2 MJ2 *2 MJ2 *2
UG230 master station UG230 slave station UG230 slave station UG230 slave station
(= Local Port 1) (= Local Port 2) (= Local Port 3) (= Local Port 4)

*1 0.5 m recommended (1.0 m maximum)

*2 Set the slide switches on the UG230 slave stations to the upper position:
RS-232C/485.

*3 Use twisted-pair cables of 0.3 mm sq. or greater between terminal blocks.

(a) Connection between PLC ↔ UG230 master station (MJ2)


The communication parameter setting and connecting method are the same as those for 1 : 1
connection.
(Refer to “Chapter 2” to “Chapter 34.”)

(b) Connection between UG230 master station (MJ1) ↔ UG230 slave station (MJ2)
The connecting port of the UG230 master station should be MJ1. Select [Modular Jack] from
the [System Setting] menu. Select [Multi-Link] for [Modular Jack 1].
The multi-link 2 master cable (b) (UG00C-H03) is 3 m long.
From the UG230 master station, the UG00C-H03 cable is connected to the terminal block.
From the terminal block, cables are routed in the direction of “(c)” and “(d).”

(C) Connection between terminal block ↔ UG230 slave station (MJ2)


The connecting port of the UG230 slave station should be MJ2.
A UG00C-P cable (3 m long) is used as cable “(c).”
For multi-link 2 connection, it is necessary to change the MJ2 signal connection to 2-wire
system. Be sure to set the slide switch on the UG230 to the upper position
(RS-232C/RS-485).
App2-4 Appendix 2 n : 1 Connection (Multi-link 2)

(d)(e) Connection between terminal blocks


Use the RS-485 2-wire connection.

(b) (c)

UG230 master station


MJ1 Signal UG230 slave station
Name MJ2 *
+ + Terminating resistance
+
- - (OFF)
Terminating resistance -
(ON) SG SG
SG (d)
Terminal block
to be installed by
the user
Signal UG230 slave station
Name MJ2 *
+ Terminating resistance
+
- (OFF)
-
SG
SG
Terminal block (e)
to be installed by
the user

Signal UG230 slave station


Name MJ2 *
+
+
- Terminating resistance
- (ON)
SG
SG
Terminal block
to be installed
by the user

* Set the slide switches on the UG230 slave


stations to the upper position: RS-232C/485.

(b)(c)(d)(e) The maximum length between UG230 should be 500 m.


((d)(e) Twisted pairs of 0.3 mm sq. or above are recommended.)
Appendix 2 n : 1 Connection (Multi-link 2) App2-5

Terminating Resistance Setting


For UG30 Series:
• The terminating resistance of the UG30 Series should be set on the DIP switch.

ON

1 2 3 4 5 6 7 8

MJ2 (modular jack 2) terminating resistance


CF auto load CN1 RD terminating resistance at pins 24 and 25
Not used
MJ1 (modular jack 1) terminating resistance
CN1 SD terminating resistance at pins 12 and 13

• When the PLC and the master station are connected via RS-422/485, set the terminating
resistance at the PLC and the master station (CN1).
• When the UG30 Series (master and slave stations) are connected via RS-485 (2-wire), set the
terminating resistance at the UG30 Series master station (MJ1/2) and the terminating slave station
(CN1).

Terminating Resistance Setting Example


1. When the PLC is connected to UG30 Series master station via RS-232C:

PLC

RS-232C RS-485 (2-wire)

CN1 MJ1/2 CN1 CN1 CN1


UG30 master station Terminal UG30 slave station UG30 slave station UG30 slave station
(= Local Port 1) block (= Local Port 2) (= Local Port 3) (= Local Port 4)

ON
When MJ2 is ON ON ON

used:
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8

ON
When MJ1 is
used:
1 2 3 4 5 6 7 8

2. When the PLC is connected to UG30 Series master station via RS-422/485:

PLC

RS-422/485 RS-485 (2-wire)

CN1 MJ1/2 CN1 CN1 CN1


UG30 master station Terminal UG30 slave station UG30 slave station UG30 slave station
(= Local Port 1) block (= Local Port 2) (= Local Port 3) (= Local Port 4)

ON ON ON ON
When MJ2 is
used:
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8

ON
When MJ1 is
used:
1 2 3 4 5 6 7 8
App2-6 Appendix 2 n : 1 Connection (Multi-link 2)

For UG230 + UG230A-DCL


• The DIP switches on the UG230 and the option unit UG230A-DCL are used to set the terminating
resistances.
DIP switch on UG230A-DCL DIP switch on UG230

CN1 RD terminating resistance at pins 24 and 25 MJ1 (modular jack 1) terminating resistance for RS-485
CN1 SD terminating resistance at pins 12 and 13 MJ2 (modular jack 2) SD terminating resistance for RS-422
Not used MJ2 (modular jack 2) RD terminating resistance for RS-422
Not used CF auto load (for USB/UG230A-DCL)

1 2 3 4 1 2 3 4
ON ON

• When the PLC and the master station are connected via RS-422/485, set the terminating
resistance at the PLC and the master station (UG230A-DCL CN1).
• When the POD (master and slave stations) are connected via RS-485 (2-wire), set the terminating
resistance at the POD master station (MJ1/2) and the terminating slave station (CN1).

Terminating Resistance Setting Example


1. When the PLC is connected to UG230 Series master station via RS-232C:

PLC
Terminal
block
RS-485 (2-wire)
RS-232C

CN1 CN1 CN1 CN1


CN1
UG230A- CN1 CN1
UG230A-
CN1
UG230A-
UG230A-
DU-01
DCL MJ1/2 DU-01
DCL DU-01
DCL DU-01
DCL
UG230 master station UG230 slave station UG230 slave station UG230 slave station
(= Local Port 1) (= Local Port 2) (= Local Port 3) (= Local Port 4)

When MJ2
is used: 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
ON ON ON ON ON ON ON ON

When MJ1
is used: 1 2 3 4 1 2 3 4
ON ON

2. When the PLC is connected to UG230 Series master station via RS-422/485:

PLC
Terminal
block
RS-422/485 RS-485 (2-wire)

CN1 CN1 CN1 CN1


CN1
UG230A- CN1
UG230A-
CN1
UG230A-
CN1
UG230A-
DU-01
DCL MJ1/2 DU-01
DCL DU-01
DCL DU-01
DCL
UG230 master station UG230 slave station UG230 slave station UG230 slave station
(= Local Port 1) (= Local Port 2) (= Local Port 3) (= Local Port 4)

When MJ2
is used: 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
ON ON ON ON ON ON ON ON

When MJ1
is used: 1 2 3 4 1 2 3 4
ON ON
Appendix 2 n : 1 Connection (Multi-link 2) App2-7

For UG230:
• The terminating resistance of the UG230 should be set on the DIP switch.

MJ1 (modular jack 1) terminating resistance for RS-485


MJ2 (modular jack 2) SD terminating resistance for RS-422
MJ2 (modular jack 2) RD terminating resistance for RS-422
CF auto load (for USB or UG230A-DCL)

1 2 3 4
ON

• When the PLC and the master station are connected via RS-422/485, set the terminating
resistance at the PLC and the master station (MJ2).
• When the UG230 (master and slave stations) are connected via RS-485 (2-wire), set the
terminating resistance at the UG230 master station (MJ1) and the terminating slave station (MJ2).

Terminating Resistance Setting Example


1. When the PLC is connected to UG230 master station via RS-232C:

PLC

RS-485 (2-wire)
RS-232C

Terminal Terminal Terminal


block block block

MJ2 MJ1 MJ2 MJ2 MJ2


UG230 master station UG230 slave station UG230 slave station UG230 slave station
(= Local Port 1) (= Local Port 2) (= Local Port 3) (= Local Port 4)

1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
ON ON ON ON

UG00S-CW Setting
The following settings must be made on the UG00S-CW editor.
Only the points different from those described in “UG00S-CW Setting (1 : 1 Connection)” (page 1-10)
are explained here.

PLC Selection
Select the PLC that is connected.
• Setting Procedure
[System Setting] → [PLC type] → [Select PLC type] dialog → Check [ Display Multi-link 2 PLC].
The PLC list compatible with multi-link 2 connection is displayed.
App2-8 Appendix 2 n : 1 Connection (Multi-link 2)

Communication Parameter Setting


• Setting Procedure
[System Setting] → [Comm. Parameter] → [Comm. Parameter] dialog
• Setting Items
[Connection]
Select [Multi-Link 2].
Click [Setting]. The [Multi-Link 2] dialog is displayed. Make the necessary settings.
For the UG30 Series master station, set the following items. For the UG30 Series slave
station, set the items marked with ♦.
[Local Port]♦ (1 to 4)
Set the port number of the UG30 Series. For the UG30 Series master station, set “1.” For the
UG30 Series slave station, set “2” to “4.”
Set the unique port number for each UG30 Series. If the number duplicates, communications
will not be performed correctly.
[Send Delay Time] (0 to 255) (Unit: ×1 msec) PLC
Set a time delay in sending the response to the PLC
after receipt of data from the PLC. POD

Normally use the default setting (0). Send delay


time “t”
[Total]♦ (2 to 4)
Set the total number of the UG30 Series included in the multi-link 2 connection.
[Retry Cycle] ( × 10)
Set the number of cycles before the master station sends an inquiry for restoration to the slave
station that has a communication problem (= system down). When a slave station has a
problem, it is temporarily removed from the communication targets, and the master station
sends an inquiry for restoration every number of cycles specified for [Retry Cycle]. This
setting does not affect the communication speed if no problem is occurring; however, if there is
any problem, it does affect the communication speed.
• When the setting value is small: It will not take a long time before restoration.
• When the setting value is large: It will take a longer time before restoration.

Supplemental Information:
[Retrials] in the [Detail] tab window of the [Comm. Parameter] dialog is the number
of retrials that the UG30 Series master station sends an inquiry to the PLC.

[Baud Rate of Multi-Link] ♦ (4800, 9600, 19200, 38400, 57600, 76800, 115k bps)
Set the baud rate used for communications between the UG30 Series.
The setting must be the same as other UG30 Series on the same communication line.
* For [Total] and [Baud Rate of Multi-Link], the same values must be set on all the UG30 Series
that are connected in the same communication line.
* Make the following setting when “1” is set for [Local Port] on the [Comm. Parameter] dialog on
the UG30 Series master station.
Select [System Setting] → [Modular Jack]. Select [Multi-Link] for [Modular Jack 1] or [Modular
Jack 2].
Connect the multi-link 2 master cable (UG00C-H03) to the modular jack selected for
[Multi-Link].

Communication Error

• If the master station has a communication error, the master and slave stations do not work, and as
a result, the communication error “Time-out” is displayed.
If a slave station becomes faulty, the communication error occurs only on this station.
Appendix 3 n : 1 Connection (Multi-link) App3-1

Appendix 3 n : 1 Connection (Multi-link)

Multi-link

• One PLC is connected to multiple UG30 Series units. (Maximum connectable UG30 Series units:
31)

UG30 Series No. 1 UG30 Series No. 2 UG30 Series No. 3 UG30 Series No. “n” (n = 1 to 31)

CN1 CN1 CN1 CN1

Maximum length (PLC to the terminating UG30 Series) = 500 m


RS-422/RS-485 connection

PLC

UG230 No. 1 UG230 No. 2 UG230 No. 3 UG230 Series No. “n” (n = 1 to 31)

*1 MJ2 MJ2 *1 MJ2 *1 MJ2 *1

*2
Maximum length (PLC to the terminating UG230 Series) = 500 m
RS-422/RS-485 connection
RUN ... ... ... ...
... ... ... ...
STOP ... ... ... ...
... ... ... ...

*1 In the case of UG230 + UG230A-DCL, connect to “CN1.”


PLC *2 Use twisted-pair cables of 0.3 mm sq. or greater between terminal blocks.

• The PLC must be of the type of signal level RS-422/RS-485 with port numbers.
RS-422 connection between the UG30 Series ↔ PLC must be in 2-wire connection.
• The UG30 and UG20 Series can be used together.
App3-2 Appendix 3 n : 1 Connection (Multi-link)

Wiring
Use the RS-485 2-wire connection.

Connection with Link Unit


For UG30 Series:
It is recommended that our optional terminal converter “UG00P-TC” be used.
• When UG00P-TC is used:
Set “2-wire connection” at the DIP switch (SW1) on UG00P-TC.

When a jumper is required on the PLC:

To the PLC’s
UG00P-TC UG00P-TC UG00P-TC RS-422 port of
Shield Shield Shield the link unit
Signal Signal Signal
Name Name Name

FG FG FG

+SD +SD +SD Receive data (+)

-SD -SD -SD Receive data (−)

+RD +RD +RD Send data (+)

-RD -RD -RD Send data (−)

SG SG SG SG

Terminating resistance Terminating resistance Terminating resistance Terminating resistance


(ON) (OFF) (OFF) (ON)

When no jumper is required on the PLC:


To the PLC’s
UG00P-TC UG00P-TC
RS-422 port of
Shield UG00P-TC
Signal
Shield Shield the link unit
Signal Signal
Name Name Name
FG FG FG
Send/receive
+SD +SD +SD data (+)
-SD -SD -SD Send/receive
data (−)
+RD +RD +RD

-RD -RD -RD


SG SG SG SG

Terminating resistance Terminating resistance Terminating resistance Terminating resistance


(ON) (OFF) (OFF) (ON)

• When UG00P-TC is not used:


Install jumpers between +RD/+SD and −RD/−SD.
Appendix 3 n : 1 Connection (Multi-link) App3-3

For UG230:
For UG230 + UG230A-DCL, refer to “For UG30 Series:” above.

For multi-link connection, it is necessary to change the MJ2 signal connection to 2-wire system. Be
sure to set the slide switch on the UG230 to the upper position (RS-232C/RS-485).

When a jumper is required on the PLC:


UG230
MJ2 * To the PLC’s RS-422
Shield port of the link unit
Signal
Name Pin No.

SHELL

+SD 1 +SD Receive data (+)

Terminating resistance -SD 2 -SD Receive data (−)


(OFF) Send data (+)
+RD 7 +RD
-RD 8 -RD Send data (−)

SG 5 SG SG

Terminating resistance
(ON)
UG230
MJ2 *
Signal
Name Pin No.

SHELL

+SD 1 +SD

Terminating resistance -SD 2 -SD


(OFF)
+RD 7 +RD
-RD 8 -RD

SG 5 SG

UG230
MJ2 *
Signal
Name Pin No.

SHELL

+SD 1 +SD

Terminating resistance -SD 2 -SD


(ON)
+RD 7 +RD
-RD 8 -RD

SG 5 SG

* Slide the slide switch on the UG230 to the upper position for RS-232C/485.
App3-4 Appendix 3 n : 1 Connection (Multi-link)

When Connecting Directly to the CPU of the MITSUBISHI QnA Series:


Use the UG port of our optional dual port interface UG00P-DI.
Also the use of our optional terminal converter UG00P-TC is recommended.

For UG30 Series:


• When UG00P-TC is used:
Set “2-wire connection” at the DIP switch (SW1) on UG00P-TC.
UG00P-DI
UG30+UG00P-TC UG30+UG00P-TC UG30+UG00P-TC UG port
Signal Signal Signal Pin No. Signal
Name Name Name Name

FG FG FG 1

+SD +SD +SD 2 +RxD

-SD -SD -SD 3 +TxD


+RD +RD +RD 4 +DSR
-RD -RD -RD 5 +DTR

SG SG SG 7 SG

RD terminating resistance RD terminating resistance RD terminating resistance 15 -RxD


(ON) (OFF) (OFF) 16 -TxD
17 -DSR
* Use shielded twist-pair cables. 18 -DTR
20

21

• When UG00P-TC is not used:


Install jumpers between +RD/+SD and −RD/−SD.
Appendix 3 n : 1 Connection (Multi-link) App3-5

For UG230:
For UG230 + UG230A-DCL, refer to “For UG30 Series:” above.
UG230 UG00P-DI
MJ2 * UG port
Signal Pin No. Signal
Pin No. Name
Name
SHELL 1

+SD 1 +SD 2 +RxD


RD terminating resistance
(OFF) -SD 2 -SD 3 +TxD
+RD 7 +RD 4 +DSR
-RD 8 -RD 5 +DTR
SG 5 SG 7 SG

15 -RxD
UG230 16 -TxD
MJ2 * 17 -DSR
Signal
Name
Pin No. 18 -DTR
SHELL 20

+SD 1 +SD 21
RD terminating resistance
(OFF) -SD 2 -SD

+RD 7 +RD
-RD 8 -RD

SG 5 SG

UG230
MJ2 *
Signal Pin No.
Name
SHELL

+SD 1 +SD
RD terminating resistance
(ON) -SD 2 -SD
* Slide the slide switch on the UG230 to
+RD 7 +RD the upper position for RS-232C/485.
-RD 8 -RD

SG 5 SG
App3-6 Appendix 3 n : 1 Connection (Multi-link)

UG00S-CW Setting
The following settings must be made on the UG00S-CW editor.
Only the points different from those described in “UG00S-CW Setting (1 : 1 Connection)” (page 1-10)
are explained here.

PLC Selection
Select the PLC that is connected. Check that the PLC to be connected is ready for multi-link
connection. Refer to “Connection Compatibility List” at the back of this manual.
• Setting Procedure
[System Setting] → [PLC Type] → [Select PLC Type] dialog

Communication Parameter Setting


• Setting Procedure
[System Setting] → [Comm. Parameter] → [Comm. Parameter] dialog
• Setting Items
[Connection]
Select [Multi-Link].
Click [Setting]. The [Multi-Link] dialog is displayed. Make the necessary settings.
[Local Port] (1 to 31)
Set the port number of the UG30 Series.
Set the unique port number for each UG30 Series. If the number duplicates, communications
will not be performed correctly.
[Send Delay Time] (0 to 255) (Unit: ×1 msec) PLC
Set a time delay in sending the response to the PLC
after receipt of data from the PLC. POD
(Default setting: 20 msec) Send delay
time “t”
[Total] (2 to 31)
Set the total number of the UG30 Series included in the connection.
[Retry Cycle] ( × 10)
When the UG30 Series has a problem, it is temporarily removed from the communication
targets, and the master station sends an inquiry for restoration every number of cycles
specified for [Retry Cycle]. This setting does not affect the communication speed if no problem
is occurring; however, if there is any problem, it does affect the communication speed.
• When the setting value is small: It will not take a long time before restoration.
• When the setting value is large: It will take a longer time before restoration.

Supplemental Information:
[Retrials] in the [Detail] tab window of the [Comm. Parameter] dialog is the number
of retrials that the UG30 Series sends an inquiry to the PLC.

* For [Send Delay Time], [Total] and [Retry Cycle], the same values must be set on all the UG30
Series that are connected in the same communication line.
Appendix 4 1 : n Connection (Multi-drop) App4-1

Appendix 4 1 : n Connection (Multi-drop)

1 : n Connection
One UG30 Series is connected to multiple PLCs. (Maximum connectable PLCs: 31)

UG30 Series

Maximum length (UG30 Series to the terminating PLC) = 500 m


CN1
RS-422/RS-485 connection

PLC1 PLC2 PLC3 PLCn (n = 1 to 31)

UG230

MJ2 * Maximum length (UG230 to the terminating PLC) = 500 m


RS-422/RS-485 connection

RUN ... ... ... ... RUN ... ... ... ... RUN ... ... ... ... RUN ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
STOP ... ... ... ... STOP ... ... ... ... STOP ... ... ... ... STOP ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...

PLC1 PLC2 PLC3 PLCn (n = 1 to 31)

* In the case of UG230 + UG230A-DCL, connect to “CN1.”


App4-2 Appendix 4 1 : n Connection (Multi-drop)

Wiring (RS-422/485)
For connecting information, refer to the instruction manual for the PLC.
Example:
The following example shows how one UG30 Series is connected to three PLCs made by
MITSUBISHI.
For more information, refer to MITSUBISHI’s instruction manual for the PLC.

UG230 POD
MJ2*2 CN1 Link unit Link unit Link unit
Signal Pin No. Pin No. Signal Signal Signal
Name Name Name Name

*1 SHELL 1 FG FG FG

SG 5 7 RDA RDA RDA

+SD 1 12 RDB RDB RDB

-SD 2 13 SDA SDA SDA

+RD 7 24 SDB SDB SDB

-RD 8 25 SG SG SG

RD terminating resistance Terminating resistance Terminating resistance Terminating resistance


(ON) (OFF) (OFF) (ON)

*1 Pin No. 1 of CN1 is used as FG. * Use shielded twist-pair cables.


The metal shell of the modular jack 2 on
the UG230 is used as SG.
*2 Slide the slide switch on the UG230 to the
lower position for RS-422.

UG00S-CW Setting
The following settings must be made on the UG00S-CW editor.
Only the points different from those described in “UG00S-CW Setting (1 : 1 Connection)” (page 1-10)
are explained here.

PLC Selection
Select the PLC that is connected. Check that the PLC to be connected is ready for 1 : n connection.
Refer to the “Appendix.”
• Setting Procedure
[System Setting] → [PLC Type] → [Select PLC Type] dialog

Communication Parameter Setting


• Setting Procedure
[System Setting] → [Comm. Parameter] → [Comm. Parameter] dialog
• Setting Items
Select “1 : n” for [Connection].

PLC Port Setting


Set the port number of each PLC not in the [Comm. Parameter] dialog but in the [Memory Setting]
dialog for each part.
Appendix 4 1 : n Connection (Multi-drop) App4-3

Notes on Communication Errors

Processing for PLC Failure


• If a communication error/timeout is detected during communications with a PLC, the PLC failure
information is stored in internal system memory addresses $s 114 to 129 of the POD. No further
communication with the PLC is attempted until a macro command is executed or the display
screen changes.
If a communication error/timeout is detected while accessing the [Read Area], the error is
processed in the same manner as for 1 : 1 connection.

Supplemental Information:
Internal system memory
The internal system memory is the one for the POD system.

• Using the macro command RECONNECT, communications can be resumed without the display
screen change.

[RECONNECT]
In the case of a multi-drop connection, communication with the port (specified with “F0”) that
caused the failure is resumed once.
Usable Devices
Internal Indirect
PLC Memory Constant Memory Card
Memory Designation
F0

RECONNECT F0

0 to 255 Resumes communication with the desired port.


F0
−1 Resumes communication with all ports.

When communication is resumed, the failure information is cleared from the system memory
($s114 to 129).

With Internal Memory Set For [Read Area], [Write Area], and [Calendar]
• In the case that the internal memory is set for [Read Area], [Write Area] and [Calendar], no initial
connection check is performed, and calendar information is read when the POD establishes
communications with the PLC for the first time. A communication error does not occur on the POD
if a timeout is detected while accessing to the PLC.
App4-4 Appendix 4 1 : n Connection (Multi-drop)

Please use this page freely.


Appendix 5 Ethernet App5-1

Appendix 5 Ethernet

Ethernet

• Transferring data in memory


Data in memory can be transferred to the POD on the Ethernet or to the PLCs linked to the POD
as a host by using macro commands (EREAD/EWRITE).

Ethernet

SYSTEM SYSTEM

F1 F1

F2 F2

<POD>
F3 F3

F4 F4

F5 F5

F6 F6

F7 F7

POWER POWER

RS-232C
RS-485

<PLC>

• Communications between the server and the POD


- “HKEtn10.dll” (for UDP/IP protocol) is provided so that the user can create an original
application by using Visual C++ or Visual Basic, etc. to allow the server to access the memory
device, such as POD internal memory, memory card or the PLC memory linked with the POD
as a host........ (a)
- The macro command (SEND) enables the POD to access the server........ (b)
Server

Application

(a) (b)

Ethernet

SYSTEM SYSTEM

F1 F1

F2 F2

F3 F3

<POD> F4

F5

F6
F4

F5

F6

F7 F7

POWER POWER

RS-232C
RS-485

<PLC> PROGRAMMER PROGRAMMER


App5-2 Appendix 5 Ethernet

- Screen data can be transferred from the UG00S-CW editor on the server to the POD.
Server

UG00S-CW

Ethernet

SYSTEM SYSTEM

F1 F1

F2 F2

F3 F3

<POD>
PROGRAMMER

F4 F4

F5 F5

F6 F6

F7 F7

POWER POWER

Ethernet-ready PLC

RS-232C
RS-485

<PLC> PROGRAMMER

• Communications between the Ethernet-ready PLC and the POD


- The POD can communicate with the PLC on the Ethernet.

Ethernet

SYSTEM SYSTEM SYSTEM

F1 F1 F1

F2 F2 F2

F3 F3 F3

F4 F4 F4

F5 F5 F5

F6 F6 F6

F7 F7 F7

POWER POWER POWER

<PLC:1> <POD:1> <POD:2> <POD:n>


* Ethernet-ready PLC only

- The POD can communicate with multiple PLCs on the Ethernet.

Ethernet

SYSTEM SYSTEM

F1 F1

F2 F2

F3 F3

F4 F4

F5 F5

F6 F6

F7 F7

POWER POWER

<PLC:1> <PLC:n> <POD:1> <POD:n>


* Ethernet-ready PLC only
Appendix 5 Ethernet App5-3

LAN Port Specifications

For UGx30H-xHx (High-performance type):


• To use Ethernet communications on UG30 (high-performance type), use the 10BASE-T connector
(LAN) provided on the unit.
It is not possible to use Ethernet or FL-net (OPCN-2) communications by attaching the
communication I/F unit UG03I-E(E2) to UG30 (high-performance type) at the same time.
When UG03I-E(E2) is mounted, the 10BASE-T connector (LAN) provided on the unit cannot be
used.
• When using Ethernet communications with UG03I-E(E2) mounted, the Web server or e-mail
function cannot be used.

LAN Specifications

Specifications
Item
10BASE-T
Baud rate 10 Mbps
Transmission method Base band
Maximum network distance
500 m (Cascade 4-stage)
or maximum node interval
Maximum segment length 100 m (between the node and the HUB)
UTP (unshielded twisted pair)
Connecting cable
22-26AWG
Protocol UDP/IP, TCP/IP*1

*1 For connection with some PLCs

For UG30xH-xSx (Standard type):


• To use Ethernet communications on UG30 (standard type), the communication interface unit
“UG03I-E(E2)” must be mounted.
In this case, however, the Web server or e-mail function is not available.

Specifications of Communication Interface Unit UG03I-E(E2)

Specifications
Item AUI
10BASE-T
10BASE5 10BASE2
Baud rate 10 Mbps
Transmission method Base band
Maximum network distance
2500 m (5 segments) 925 m (5 segments) 500 m (Cascade 4-stage)
or maximum node interval
100 m
Maximum segment length 500 m 185 m
(between the node and the HUB)
Maximum number of nodes 100/segment 30/segment 2/segment
Minimum node interval 2.5 m 0.5 m -
UTP
Ethernet RG58A/U, RG58C/U
Connecting cable (unshielded twisted pair)
coaxial cable (50 Ω) coaxial cable (50 Ω)
22-26AWG
Protocol UDP/IP
App5-4 Appendix 5 Ethernet

Names and Functions of Components

1 2 3

ADR - LOW - HI FUSE 0V


10B-T RX TX LNK CI

AUI +12V

4 5

1. LED
Indicates the status of the communication.

Name Contents On Off


RX Data receive status Currently receiving Not receiving
TX Data send status Currently sending Not sending
LNK Link status (for 10BASE-T only) Normal Error
Cl Collision Data collision Normal

2. Port number setting switches


Set the port number of POD on the network table using the following rotary switches.
Example: To set port No. 1:

ADR - LOW - HI
0 1
2
0 1 * Make sure that each I/F unit on the network
F F 2
has a unique port number.
C D E

C D E
3 4 5 6

3 4 5 6
B

7 7
8 9 A 8 9 A

3. Fuse
This is the fuse for 12 VDC power supply. (Rating 2 A)
4. 10BASE-T connector
This connector is used for 10BASE-T connection. (Compliant with IEEE802.3)
5. AUI connector
This connector is used for connecting the transceiver cable in the case of 10BASE2 or 10BASE5.
6. 12 VDC power supply terminal
The power source is required for the transceiver of AUI connection.
Be sure to take account of a voltage drop at UG03IIE(E2) (max. 0.7 V).
* It is not necessary to use 10BASE-T.
Appendix 5 Ethernet App5-5

For UG230:
• To use Ethernet communications with the UG230, an optional unit, UG230A-DCL, is necessary.
Web server and e-mail functions are available.

Specifications of Option Unit UG230A-DCL

Item Specifications
10BASE-T
Baud rate 10 Mbps
Transmission method Base band
Maximum network distance
500 m (Cascade 4-stage)
or maximum node interval
Maximum segment length 100 m (between the node and the HUB)
UTP (unshielded twisted pair)
Connecting cable
22-26AWG
Protocol UDP/IP, TCP/IP*1

*1 For connection with some PLCs

Port Position
When the UG230A-DCL mounted on the UG230, the LAN port faces downward.

Bottom View UG230A-DCL

UG230

IP Address for the Unit


To enable Ethernet communications on the POD, it is necessary to set the IP address for identification
of the POD on the network.
For more information on the IP address setting for UG30 Series, refer to the User’s Manual
<Supplementary Manual> (FEH376-1). For UG230, refer to the User’s Manual <UG230 Series
Hardware> (FEH381).
App5-6 Appendix 5 Ethernet

Wiring

10BASE-T Connection
• Cable connection diagram

HUB
UTP cable UTP cable
Straight Straight or cross cable
(For more information, refer to the HUB specifications.)

UG230A-DCL UG03I-E

Ethernet UG30 HUB


PLC UG30
unit UG230 high-performance
standard type
type

Node
Distance between the node and the HUB: 100 m maximum
Maximum network nodes: 100

Straight cable Cross cable


(with HUB) (without HUB)

10BASE-T 10BASE-T 10BASE-T 10BASE-T


RJ-45 8Pin RJ-45 8Pin RJ-45 8Pin RJ-45 8Pin
1 1 1 3
2 2 2 6
3 3 3 1
6 6 6 2
4 4 4 5
5 5 5 4
7 7 7 8
8 8 8 7

* Unshielded twist-pair cable * Unshielded twist-pair cable

• Notes on cables
Use the following recommended cable.

Recommended cable 10BASE-T Type: Twist-pair cable, category 5


Appendix 5 Ethernet App5-7

AUI Connection
10BASE5
The following devices are required for 10BASE5 connection:
- Coaxial cable for 10BASE5
- AUI cable
- N-type connector
- N-type terminator
- Transceiver
- Power supply for the transceiver: 12 VDC
1 segment (max. 500 m, max. 100 nodes)

Minimum node
AUI cable interval
(max 50 m) 2.5 m

UG03I-E To extend the length or increase the


Ethernet Repeater
PLC Node
unit
UG30 number of nodes, use repeaters.
standard type

N-type terminator
Maximum segments: 5 Transceiver*1
Maximum network distance: 2500 m N-type connector
Maximum network nodes: 100

*1: 12 V power supply is required for each transceiver. Node Node

• Transceiver
Use the transceiver equipped with the SQE TEST function.
(SQE TEST : Signal Quality Error Test)

Recommended transceiver

Manufacturer Type
Allied Telesis CentreCOM 107

* The I/F unit may be broken if the AUI connector is subject to strong force. Use the AUI cable
when connecting the transceiver.
* When the power lamp of the transceiver is not turned on, check the wiring of 12 VDC power
supply, then replace the fuse (refer to page App5-4) of the I/F unit UG03I-E(E2).
Be sure to turn off the power before replacing the fuse.
App5-8 Appendix 5 Ethernet

10BASE2
The following devices are required for 10BASE2 connection:
- Coaxial cable for 10BASE2
- AUI cable
- T-type adaptor
- Terminator for 10BASE2
- Transceiver
- Power supply for the transceiver: 12 VDC
• Transceiver
1 segment (max. 185 m, max. 30 nodes)

Ethernet
Minimum node PLC unit
AUI cable interval *1

(max 50 m) 0.5 m

UG03I-E
To extend the segment distance or
Ethernet
PLC unit
Repeater increase the number of nodes, use
UG30 repeaters.
standard type

T-type
Terminator
Maximum segments: 5
Maximum network distance: 925 m
Maximum network nodes: 100 Node*1 Transceiver*2

*1 The unit may have a built-in transceiver.


Refer to the instruction manual for the unit. Node
*2 12 V power supply is required for each transceiver.

Use the transceiver equipped with the SQE TEST function.


(SQE TEST: Signal Quality Error Test)

Recommended transceiver

Manufacturer Type
Allied Telesis CentreCOM 107

* The I/F unit may be broken if the AUI connector is subject to strong force. Use the AUI cable
when connecting the transceiver.
* When the power lamp of the transceiver is not turned on, check the wiring of 12 VDC power
supply, then replace the fuse (refer to page App5-4) of the I/F unit UG03I-E(E2).
Be sure to turn off the power before replacing the fuse.
Appendix 5 Ethernet App5-9

Transferring Screen Data


This section describes the procedure for transferring screen data from the UG00S-CW editor on the
server to POD via Ethernet.
For the procedure using the UG00C-T cable, refer to the User’s Manual <Operation> (FEH375).

Prerequisites
When screen data is to be transferred for the first time via Ethernet or when the POD has been
replaced due to trouble, the server cannot transfer screen data because the network table has not
been transferred to the POD.
In this case, the following setting must be made on the Main Menu screen:
- IP address
- Default gateway
- Subnet mask
The port number must be “10000.”
When the network table is transferred from the UG00S-CW editor, the above data is updated.
• Setting Procedure
1. Press the [Ethernet] switch on the Main Menu screen.
2. The Ethernet screen is displayed. (For more information, refer to “Chapter 6, POD
Operations” in the User’s Manual <UG30 Series Hardware> (FEH377) or <UG230 Series
Hardware> (FEH381).)
Set the IP address. If necessary, set the default gateway and subnet mask.
(When attaching the I/F unit UG03I-E(E2) to UG30, set the connecting method
(10BASE-T/AUI) as well.)
3. When the setting has been completed, press the [Setting Finished] switch. The Main Menu
screen is displayed again.
4. The setting data can be reviewed on the Main Menu screen.

Main Menu UG430H-TH1 2002-4 -1 07:23:30

System Information FONT I/F DRV VER.1.310


SYSTEM PROG. VER. 1.010 VER.1.300 / 1.000 / 1.000 YOKOGAWA FA-M3
ENGLISH Ethernet
Ethernet Information
Screen Data
Information
PLC Type : YOKOGAWAFA-M3/FA-M3R(Ethernet)
Comment :
Error : Stop
Time-Out : 0.50 sec Trans.Speed : 10BASE-T
Size : 5783552 Retry : 3
Stat. No. : 192.168.1.68
Ethernet Information
Trans.Speed : 10BASE-T PORT: 10000
Stat. No. : 192.168.1.68
PORT: 10000 MAC: 0050FF000035
MAC: 0050FF000035

SRAM/Clock

Ethernet

Editor:MJ1 Card I/O Test


Menu

5. Transfer screen data from the server.


App5-10 Appendix 5 Ethernet

Transferring Screen Data from UG00S-CW Editor


1. Click the [Transfer] icon. The [Transfer] dialog is displayed.

2. Attach a check mark ( ) to [ Transfer


through Ethernet].

3. Click the [Detail Setting] button. The [IP


Address Setting] dialog is displayed.

4. Enter the IP address of the POD to which the screen


data is to be transferred.

When a list is shown, select the IP address of the


POD, and click the [<<] button. The host name and
the IP address are automatically entered.
Click [OK].
Appendix 5 Ethernet App5-11

5. Check the IP address, and click [PC->].

IP address for transfer target

6. Data transfer is started.


App5-12 Appendix 5 Ethernet

UG00S-CW Setting: PLC Type/Communication Parameter


To enable Ethernet communications between the POD and a PLC, the following setting is required on
the UG00S-CW editor.
• PLC type setting
• Communication parameter setting
• Network table editing
In this section, the PLC type setting and communication parameter setting are explained.

Connection Example
Server

Application

Ethernet
(B)

SYSTEM SYSTEM

F1 F1

F2 F2

F3 F3

F4 F4

F5 F5

F6 F6

F7 F7

POWER POWER

Ethernet-ready PLC
(A)
RS-232C
RS-485

There are two connecting methods between the POD and the PLC.
(A) Connecting to the PLC through RS-232C or RS-485 interface
(B) Connecting to the PLC on the Ethernet

The contents of the system setting vary depending on the method selected.
Check the connecting method and make the setting on the UG00S-CW editor.

(A) Connecting to the PLC through RS-232C or RS-485 interface


1. PLC type setting
Select [System Setting] → [PLC Type] and select the PLC to be used.
2. Communication parameter setting
Select [System Setting] → [Comm. Parameter].
Attach a check mark ( ) to [Use Ethernet].
3. Select [System Setting] → [Network Table
Setting] → [Ethernet] →. The network table edit
window is displayed. Edit the network table.
For more information on network table editing,
refer to page App5-16.
Appendix 5 Ethernet App5-13

(B) Connecting to the PLC on the Ethernet


1. PLC type setting
Select [System Setting] → [PLC Type] and select the PLC that shows [xxxxx (Ethernet XXXXX)].
At present (March, 2005), the following PLC models are supported.

No. of
Manufacturer Select PLC Type PLC Unit Port No. (DEC)
Clients
MICREX-SX MICREX-SX As per setting on
Fuji Electric FA NP1L-ET1 −
(Ethernet)*1 SPH series PLC
H series LAN-ETH2 3004 −
HIDIC-H (Ethernet)*1 EH-150 EH-ETH 3004 −
EH-WD10DR − −
Hitachi HIDIC-S10/2α, S10 2α
LQE020 4301 fixed 4
S10mini (Ethernet) S10 mini

HIDEIC-S10V LQE520 4302 fixed 4


S10V
(Ethernet) *1 LQP520 4302 - 4305 fixed 1 each
KV-700
8501 −
(Ethernet UDP/IP)
KV-700
KV-700
KEYENCE KV-LE20 8500 8
(Ethernet TCP/IP)*1
KV-1000
KV-1000 8500 8
(Ethernet TCP/IP)*1
MASTER-K series
K3P-07AS −
(Ethernet)
LG G6L-EUTB 2005 fixed
GLOFA GM series
GM6-CPUA −
(Ethernet)
FP series
0 8
Matsushita Electric (Ethernet TCP/IP)*1
FP2 FP2-ET1
Works FP series
0
(Ethernet UDP/IP)
AJ71QE71,
QnA series Q2A, Q3A, Q4A, AJ71QE71-B5,
5000
MITSUBISHI (Ethernet) Q2ASx A1SJ71QE71-B2,
A1SJ71QE71-B5 −
ELECTRIC
QnH (Q) series QJ71E71,
(Ethernet)
QnH (Q mode)
QJ71E71-B2 5000*2

SYSMAC CS1/CJ1
9600 −
(Ethernet)
SYSMAC CS1/CJ1 CS1 CS1W-ETN01
OMRON 9600 −
(Ethernet Auto) CJ1 CJ1W-ETN11
SYSMAC CS1/CJ1
9600
DNA (Ethernet)
JW series (Ethernet) JW20H/30H 0 −
JW311/312/321/322
JW300 series 0 −
series (Ethernet) JW255CM
SHARP
JW25TCM
JW311/332/341/342/
352/362 series JW300 series 0 −
(Ethernet)
Toyoda Machine TOYOPUC L2/PC2 series
FL/ET-T-V2 6000 −
Works (Ethernet) PC3J
FA-M3/FA-M3 R FA-M3 F3LE01-5T,
Yokogawa Electric 12289 fixed −
(Ethernet) FA-M3 R F3LE11-0T
MODBUS TCP/IP (adapted to (adapted to
− 502 fixed −
(Ethernet)*1 MODBUS TCP/IP) MODBUS TCP/IP)

*1 Adapted to the UG30 Series built-in LAN port and UG230 + UG230A-DCL, and not to UG03I-E(E2)
*2 Default when the automatic open UDP port is in use
If the open setting on the ladder tool software is used, the port number specified for the open setting takes
effect.
App5-14 Appendix 5 Ethernet

2. The memory use is the same as the one for 1 : 1 connection. (Refer to “Chapter 2” to “Chapter
34.”)

* The data code of the UG30 Series is fixed to the binary code.
Be sure to set the binary code for the data code on the PLC.
3. Communication parameter setting
• Select [System Setting] → [Comm. Parameter]. Set the PLC to the POD which is connected.

When the network table is not set:


Network table No. 0 is displayed.
It is not possible to select an option for [Connect To]. Select [System Setting] → [Network
Table Setting] → [Ethernet] →. The [Edit Network Table] window is displayed. Set the
network table, and then go back to the communication parameter setting.
For more information on network table editing, refer to page App5-16.

When the network table is set:


The IP addresses that are set on the network table are displayed.
Select the IP address of the desired PLC.

Click here. A drop-down list is displayed.


Appendix 5 Ethernet App5-15

• When communicating with multiple PLCs (same model) on the Ethernet, select [1 : n] for
[Connection] on the [Detail] tab window.

Set the port number (network table number) of the PLC in the [Memory Input] dialog for each
part. For more information on the network table, refer to page App5-16.
[Memory Input]

[Edit Network Table]


App5-16 Appendix 5 Ethernet

UG00S-CW Setting: Network Table Editing


To enable Ethernet communications on the POD, the following network table setting is required on the
UG00S-CW editor.

Network table
• The POD, PLCs and PCs on the Ethernet must be registered on the network table.
In the case of the network illustrated below, the nodes with (∗) should be registered on the network
table.
Server

Application

UG00S-CW

Ethernet

SYSTEM SYSTEM

F1 F1

F2 F2

F3 F3

F4 F4

F5 F5

F6 F6

F7 F7

POWER POWER

Ethernet-ready PLC
RS-232C
RS-485

• The network table is transferred to the POD together with screen data.
Server

UG00S-CW Transfer
SYSTEM

F1

F2

F3

F4

F5

F6

F7

POWER

Screen data
<PC> I/F driver <POD>
Network table
Appendix 5 Ethernet App5-17

Starting and Closing


• Starting
Select [System Setting] → [Network Table Setting] → [Ethernet]. The network table edit window is
displayed.
[Close] button

• Closing
Select [File] → [Exit], or click the [Close] button.

Menu and Icons


Each menu item corresponds to the icons as shown below.

[File] menu

- Import Network Table


Imports a network table saved as a file “∗.ntb.”
- Export Network Table
Exports a network table as a file “∗.ntb.”

[Edit] menu

- Use Monitor Registration


Only one POD can be registered as the monitor for Ethernet communications.

A mark is shown on the left of the network table number.


App5-18 Appendix 5 Ethernet

- Cancel Monitor Registration


Click this menu when canceling monitor registration.

[View] menu
The items with a check mark are shown on the network table editing window.

1
2 1

Editing the Network Table


Double-click the number.
The [Set Network Table No. *] dialog is displayed.

Network table
number

[Host Name]
Set the name for the POD, etc. to be used on the Ethernet.
[IP Address]
Set the IP address.
* When registering Ethernet-ready PLC, set the same IP address as that of the PLC.
For the setting procedure of the IP address on the PLC, see the manual attached to each PLC.
* When registering a computer as the server, set the same IP address as that of the computer.
When setting the IP address on the computer, open [Property] of [TCP/IP] in [Network] on the
Windows.
* To connect to the intra-company network, consult with the network administrator.
Appendix 5 Ethernet App5-19

IP Address
This is an address that is used for recognizing each node on the Ethernet and should be unique.
The IP address is 32-bit data which consists of the network address and the host address and can be classified
into A to C depending on the network size.
Class A Network
0 address (7) Host address (24)

Class B
10 Network address (14) Host address (16)

Class C
110 Network address (14) Host address (8)
Notation
A string of 32-bit data is divided into four, and each segment delimited with a period is in decimal notation.
Example: The IP address in class C shown below is represented as “192.128.1.50.”
11000000 10000000 00000001 00110010
Unusable IP addresses:
• “0” is specified for one byte at the extreme left. Example: 0.x.x.x
• “127” is specified for one byte at the extreme left (loop back address). Example: 127.x.x.x
• “224” or more is specified for one byte at the extreme left (for multi-cast or experiment). Example: 224.x.x.x
• The host address consists of only “0” or “255” (broadcast address). Example: 128.0.255.255, 192.168.1.0

[Send Timeout]
Set the time-out time for the POD to send a EREAD/EWRITE command on the Ethernet.
[Port No.] (256 to 65535) (Default: 10000)
Set the port number.
The port number may be fixed depending on the PLC model. For more information, refer to “(B)
Connecting to the PLC on the Ethernet” (page App5-13) or the individual PLC manuals.

Port No.
Multiple applications are running on each node, and communications are carried out for each application
between the nodes. Consequently, it is necessary to have a means to identify the application that data should
be transferred to. The port number works as this identifier.
Each port number is 16-bit data (from 0 to 65535). However, since some numbers are already used, the
setting range available with UG30 (high-performance type) or UG230 is from 256 to 65535. It is recommended
to set a greater number. Note that “8001” is allocated to the port for screen data transfer from the editor. Use
a number other than “8001.”

[Select Port]
Select either AUI or 10BASE-T. When connecting to the 10BASE-T connector (LAN) of UG30
(high-performance type) or UG230 + UG230A-DCL, select [10BASE-T].
Select either [10BASE-T] or [AUI] when UG03I-E(E2) is mounted.
[Memory Protect]
Attach a check mark ( ) when write-protecting the internal memory or memory card.
[Default Gateway]
Attach a check mark ( ) when setting the default gateway.

Default Gateway
A gateway and a router are used for communicating between different networks.
The IP address of the gateway (router) should be set to communicate with the node(s) on other network.
App5-20 Appendix 5 Ethernet

[Sub Net Mask]


Attach a check mark ( ) when setting the subnet mask.
When this option is checked, it is set to [255.255.255.0].

Subnet Mask
A subnet mask is used for dividing one network address into multiple networks (subnet).
The subnet is assigned by specifying a part of the host address in the IP address as a subnet address.

Class B 10 Network address (14) Host address (16)

255. 255. 255. 0


Subnet mask 11111111 11111111 11111111 00000000
Network address Subnet address Host address
Unusable subnet masks
• All bits are set to “0.”: 0.0.0.0
• All bits are set to “1.”: 255.255.255.255
Appendix 5 Ethernet App5-21

UG00S-CW Setting: Macro


This section explains the macro commands (SEND/EREAD/EWRITE) used for the Ethernet. For more
information on macro commands, refer to the Use’s Manual <Function> (FEH376).

Macro Command
[EREAD]
Words from the F1 memory in the POD of the network table number specified for F3 are read into
the F0 memory. F2 designates the number of words to be read.
Usable Devices
Internal PLC Memory Indirect Double-
Constant IP Address
Memory Memory Card Designation word
F0
F1
F2
F3

EREAD: Read into memory


EREAD F0 = F1 C: F2 F3

Example: Macro command at the POD (A)


The macro command for POD (A) to read data from PLC (B) and transfer it to PLC (A)
is shown below.
[Description] EREAD D200 = D100 C: 2 B

Top memory address Address of the source


of the target (Network table number)
Top memory address The number of words
of the source to be transferred

[Contents] Two words starting from D100 in PLC (B) are read into D200 in PLC (A).

Ethernet

SYSTEM SYSTEM

F1 F1

F2 F2

<POD:A> EREAD
F3

F4

F5
F3

F4

F5
<POD:B>
F6 F6

F7 F7

POWER POWER

D200 ~ 201

<PLC:A> <PLC:B>
App5-22 Appendix 5 Ethernet

[EWRITE]
Words from the F2 memory are written into the F0 memory in the POD of the network table
number specified for F1. F3 designates the number of words to be written.
Usable Devices
Internal PLC Memory Indirect Double-
Constant IP Address
Memory Memory Card Designation word
F0
F1
F2
F3

EWRITE: Write to memory


EWRITE F0 F1 = F2 C: F3

Example: Macro command at the POD (A)


The macro command for POD (A) to write data in POD (A) to PLC (B) is shown below.

[Description] EWRITE D100 B = $u100 C: 2

Top memory address The number of words


of the target to be transferred
Address of the target Top memory address
(Network table number) of the source

[Contents] Two words starting from $u100 in POD (A) are written into D100 in PLC
(B).

Ethernet

$u100 ~ 101
SYSTEM SYSTEM

F1 F1

F2 F2

<POD:A> EWRITE
F3

F4

F5
F3

F4

F5
<POD:B>
F6 F6

F7 F7

POWER POWER

D100 ~ 101

<PLC:A> <PLC:B>
Appendix 5 Ethernet App5-23

[SEND]
Words from the F0 memory are transferred to the server of the network table number specified for
F2. F1 designates the number of words to be transferred.
Usable Devices
Internal PLC Memory Indirect Double-
Constant IP Address
Memory Memory Card Designation word
F0
F1
F2

SEND: Send to server


SEND F0 C: F1 TO: F2

Example: Macro command at the POD (B)


The macro command for POD (B) to transfer data to server (A) is shown below.

[Description] SEND $u100 C: 2 TO: A

Top memory address The number of words


of the source to be transferred
Address of the target
(Network table number)

[Contents] Two words starting from $u100 in POD (B) are transferred to server (A).

Server A

Application

Ethernet

SYSTEM

F1

F2

F3

<POD:B> SEND F4

F5

F6

F7

POWER

<PLC:B>
App5-24 Appendix 5 Ethernet

System Memory
The Ethernet status is output to the system memory ($s) of the POD.
This section explains the memory addresses ($s514 to 619) where the Ethernet status is output.
For other memory addresses, refer to the User’s Manual <Function> (FEH376).

List

Address Contents
• •
• •
• •

$s514 Macro user request wait (0: absent 1: present)


515 Result of executing the macro user request wait
516
517
518 Ethernet status
519
520 Network table 0 status
521 Network table 1 status
522 Network table 2 status
523 Network table 3 status
524 Network table 4 status
525 Network table 5 status
526 Network table 6 status
527 Network table 7 status
528 Network table 8 status
529 Network table 9 status
530 Network table 10 status
531 Network table 11 status
532 Network table 12 status
533 Network table 13 status
534 Network table 14 status
535 Network table 15 status
536 Network table 16 status
537 Network table 17 status
538 Network table 18 status
539 Network table 19 status
540 Network table 20 status
541 Network table 21 status
542 Network table 22 status
543 Network table 23 status
544 Network table 24 status
545 Network table 25 status
546 Network table 26 status
547 Network table 27 status
548 Network table 28 status
549 Network table 29 status
550 Network table 30 status
551 Network table 31 status
552 Network table 32 status
Appendix 5 Ethernet App5-25

Address Contents
$s553 Network table 33 status
554 Network table 34 status
555 Network table 35 status
556 Network table 36 status
557 Network table 37 status
558 Network table 38 status
559 Network table 39 status
560 Network table 40 status
561 Network table 41 status
562 Network table 42 status
563 Network table 43 status
564 Network table 44 status
565 Network table 45 status
566 Network table 46 status
567 Network table 47 status
568 Network table 48 status
569 Network table 49 status
570 Network table 50 status
571 Network table 51 status
572 Network table 52 status
573 Network table 53 status
574 Network table 54 status
575 Network table 55 status
576 Network table 56 status
577 Network table 57 status
578 Network table 58 status
579 Network table 59 status
580 Network table 60 status
581 Network table 61 status
582 Network table 62 status
583 Network table 63 status
584 Network table 64 status
585 Network table 65 status
586 Network table 66 status
587 Network table 67 status
588 Network table 68 status
589 Network table 69 status
590 Network table 70 status
591 Network table 71 status
592 Network table 72 status
593 Network table 73 status
594 Network table 74 status
595 Network table 75 status
596 Network table 76 status
597 Network table 77 status
598 Network table 78 status
599 Network table 79 status
App5-26 Appendix 5 Ethernet

Address Contents
$s600 Network table 80 status
601 Network table 81 status
602 Network table 82 status
603 Network table 83 status
604 Network table 84 status
605 Network table 85 status
606 Network table 86 status
607 Network table 87 status
608 Network table 88 status
609 Network table 89 status
610 Network table 90 status
611 Network table 91 status
612 Network table 92 status
613 Network table 93 status
614 Network table 94 status
615 Network table 95 status
616 Network table 96 status
617 Network table 97 status
618 Network table 98 status
619 Network table 99 status
Appendix 5 Ethernet App5-27

Addresses
• $s514, 515
These addresses are related to macro commands [SEND], [EREAD] and [EWRITE].

$s514: Sets the executing status of the macro.


In the case of “0,” the next step of the macro is executed without waiting for the
completion of the command when a command request is given to the Ethernet.
In the case of other than “0,” the wait status continues until the command completes, and
then the next step of the macro is executed.
* If the same port is accessed for execution of commands on one macro sheet, set a value other
than “0.” If “0” is set, the macro command executed next is deleted.

$s515: Stores the result of macro execution. An error occurs if a value other than “0” is stored.
For more information, refer to the error codes (page App5-44).
However, when $s514 is “0,” the data before the command request is stored.
• $s518
Stores the current status of the Ethernet. An error occurs if a value other than “0” is stored.
For more information, refer to the error codes (page App5-43).
• $s520 to 619
Stores the statuses of network table No. 0 to 99.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Network table use status

Macro command execution


Not used status
Command execution status
Command execution result

- Bit 0 (Network table use status)


[0]: Not used [1]: Used
For the current station, “0” (not used) is input.
- Bit 1 (Macro command execution status)
Stores the execution status of macro command [SEND], [EREAD] or [EWRITE].
[0]: Waiting [1]: Executing
- Bit 2 (Command execution status)
Stores the execution status of the command from the server or other station.
[0]: Waiting [1]: Executing (read/write command)
- Bit 3 (Macro command execution result)
Stores the execution result of macro command [SEND], [EREAD] or [EWRITE].
[0]: Normal [1]: Error
- Bits 4 to 15 (System reserved)
Not used at present. Always set “0.”
App5-28 Appendix 5 Ethernet

Ethernet Access Functions (HKEtn10.DLL)


To enable Ethernet communications between the server and the POD, it is necessary to create an
application based on HKEtn10.dll (for UDP/IP) provided by us, using Visual C++, Visual Basic, etc.

Sample Folder
The “Sample” folder for Ethernet communications is included in the UG00S-CW CD-ROM.
The [Ethernet] folder contains sample programs created using Visual C++, and the [VBA] folder
contains those created using VBA.
Refer to these sample program when creating an application. If necessary, you can copy and tailor the
program to your requirements.

UG00S-CW CD-ROM

ENG
Sample
Ethernet
Release
Res
VBA
ADOBE
PDF
UG00S-CW
JPN

• Ethernet
The following files are contained in the respective folders.
[Ethernet]
- ESmpl.dsp - ESmpl.h - ESmpl.cpp - ESmpl.rc
- ESmpl.clw - MainFrm.h - MainFrm.cpp - ESmplDoc.h
- ESmplDoc.cpp - ESmplView.h - ESmplView.cpp - StdAfx.h
- StdAfx.cpp - Resource.h - ReadMe.txt - HKEtn10.h
[Release]
- HKEtn10.dll - HKEtn10.lib
[res]
- ESmpl.ico - ESmpl.rc2 - Toolbar.bmp - ESmplDoc.ico
• VBA
The following files are contained in this folder.
[VBA]
- HKEtn10.dll
- VBA_Sample.xls
* To execute this program, copy the above files to the “C:\TEST” folder.
Port No. 10000 is set.
When changing the copy target or the port number, change the setting in the program
accordingly.
Appendix 5 Ethernet App5-29

• Notes on use of the sample programs


The data type to be set when creating a program varies depending on whether Visual C++ or
Visual Basic is used.
For the data type and range, refer to the following tables.

Visual C++ VB
BYTE Byte
short
unsigned short Integer
WORD
int
long Long
DWORD
char String

Visual C++

Data Type Bytes Data Range


BYTE 1 0 to 255
short 2 −32768 to 32767
unsigned short 2 0 to 65535
WORD 4 −2147483648 to 2147483647
int 4 −2147483648 to 2147483647
long 2 0 to 65535
DWORD 4 0 to 4294967295
char 1 −128 to 127

Visual Basic

Data Type Bytes Data Range


Byte 1 0 to 255
Boolean 2 TRUE(0) / FALSE(−1)
Integer 2 −32768 to 32767
Long 4 −2147483648 to 2147483647
Double 8 4.94E−324 to 1.79E+308
String Variable 0 to 2 GB
App5-30 Appendix 5 Ethernet

Function Specifications
List
• Read

PLC Memory int HKEtn_ReadPlcMemory(WORD *dp,unsigned short Wordcnt,int


Page App5-31
Word DeviceType,DWORD addr,char *lpAddr,int DFlag=1)
PLC memory int HKEtn_ReadPlcMemory2(DWORD *dp,unsigned short
Double-word Wordcnt,int DeviceType,DWORD addr,char *lpAddr,int DFlag=1)
Page App5-32
Internal memory int HKEtn_ReadInternalMemory(WORD *dp,unsigned short
Word Wordcnt,int DeviceType,DWORD addr,char *lpAddr,int DFlag=1)
Memory card memory int HKEtn_ReadCardMemory(WORD *dp,unsigned short Wordcnt,int
Word FileNo,int RecordNo,DWORD addr,char *lpAddr,int DFlag=1)
Page App5-33
PLC memory int HKEtn_ReadPlcBitMemory(int *lpOnFlag,int
Bit DeviceType,DWORD addr,int BitNo,char *lpAddr)
Internal memory int HKEtn_ReadInternalBitMemory(int *lpOnFlag,int
Bit DeviceType,DWORD addr,int BitNo,char *lpAddr)
Page App5-34
Memory card memory int HKEtn_ReadCardBitMemory(int *lpOnFlag,int FileNo,int
Bit RecordNo,DWORD addr,int BitNo,char *lpAddr)

• Write

PLC memory int HKEtn_WritePlcMemory(WORD *sp,unsigned short Wordcnt,int


Page App5-35
Word DeviceType,DWORD addr,char *lpAddr,int DFlag=1)
PLC memory int HKEtn_WritePlcMemory2(DWORD *sp,unsigned short
Double-word Wordcnt,int DeviceType,DWORD addr,char *lpAddr,int DFlag=1)
Page App5-36
Internal memory int HKEtn_WriteInternalMemory(WORD *sp,unsigned short
Word Wordcnt,int DeviceType,DWORD addr,char *lpAddr,int DFlag=1)
Memory card memory int HKEtn_WriteCardMemory(WORD *sp,unsigned short Wordcnt,int
Word FileNo,int RecordNo,DWORD addr,char *lpAddr,int DFlag=1)
Page App5-37
PLC memory int HKEtn_WritePlcBitMemory(int DeviceType,DWORD addr,int
Bit BitNo,int OnFlag,char *lpAddr)
Internal memory int HKEtn_WriteInternalBitMemory(int DeviceType,DWORD addr,int
Bit BitNo,int OnFlag,char *lpAddr)
Page App5-38
Memory card memory int HKEtn_WriteCardBitMemory(int FileNo,int RecordNo,DWORD
Bit addr,int BitNo,int OnFlag,char *lpAddr)

• Others

int HKEtn_Init(unsigned short Port=10000,int Retry=3,int


Initialization function
RecvTime=2,int RecvTime2=10)
Page App5-38
Receive wait from
int HKEtn_Recvfrom(BYTE *dp,short *lpCnt)
POD
Cancel receive wait
void HKEtn_Cancel(void)
function
Request connection
int HKEtn_GetInf(struct inf *lpinf,char *lpAddr)
information Page App5-39
Close processing int HKEtn_Close()
Get source’s
int HKEtn_GetSinAddr(char *lpAddr)
IP address
Get error contents int HKEtn_GetLastError() Page App5-40
Appendix 5 Ethernet App5-31

Read
Read Words from PLC Memory
int HKEtn_ReadPlcMemory(WORD *dp,unsigned short Wordcnt,int DeviceType,DWORD
addr,char *lpAddr, int DFlag=1)

This function is retained until PLC data is transferred from the POD.
• Parameters
*dp Target pointer of the data to be read

Contents Word Count


No. 1 1
No. 2 1
• •
• •
• •

No. n 1

Wordcnt Word count to be read (max. 2000 words)


DeviceType Address of the device to be read (Refer to “Chapter 2” to “Chapter 34.”)
addr Top memory address to be read
* For Yokogawa or Yaskawa PLCs, specify a number “−1” for the address
(addr).
Example: D400 → 399 D25 → 24
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to the table below.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
• Priority and communication procedure depending on the DFlag setting are shown below.

DFlag Priority Communication Procedure

0 Communications PC POD PLC


Read/write request Memory card

Response
Acknowledge of completion
1 Display
Response

PC POD PLC
Memory card
2 Display Read/write request
Acknowledge of completion
App5-32 Appendix 5 Ethernet

Read Double-words from PLC Memory


int HKEtn_ReadPlcMemory2(DWORD *dp,unsigned short Wordcnt,int DeviceType,DWORD
addr,char *lpAddr, int DFlag=1)

This function is retained until PLC data is transferred from the POD.
• Parameters
*dp Target pointer of the data to be read

Contents Word Count


No. 1 2
No. 2 2
• •
• •
• •

No. n 2

Wordcnt Word count to be read (max. 1000 words)


DeviceType Address of the device to be read (Refer to “Chapter 2” to “Chapter 34.”)
addr Top memory address to be read
* For Yokogawa or Yaskawa PLCs, specify a number “−1” for the address
(addr).
Example: D400 → 399 D25 → 24
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page App5-31.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Read Words from Internal Memory


int HKEtn_ReadInternalMemory(WORD *dp,unsigned short Wordcnt,int DeviceType,DWORD
addr,char *lpAddr,int DFlag=1)

This function is retained until data is transferred from the POD.


• Parameters
*dp Target block pointer

Contents Word Count


No. 1 1
No. 2 1
• •
• •
• •

No. n 1

Wordcnt Word count to be transferred (max. 2000 words)


DeviceType 0: $u 1: $s 2: $L 3: $LD 4: $T
addr Top memory address to be read
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page App5-31.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
Appendix 5 Ethernet App5-33

Read Words from Memory Card Memory


int HKEtn_ReadCardMemory(WORD *dp,unsigned short Wordcnt,int FileNo,int
RecordNo,DWORD addr,char *lpAddr,int DFlag=1)

This function is retained until data is transferred from the POD.


• Parameters
*dp Target block pointer

Contents Word Count


No. 1 1
No. 2 1
• •
• •
• •

No. n 1

Wordcnt Word count to be transferred (max. 2000 words)


FileNo File number
RecordNo record number
addr Top memory address to be read
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page App5-31.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Read Bits from PLC Memory


int HKEtn_ReadPlcBitMemory(int *lpOnFlag,int DeviceType,DWORD addr,int BitNo,char
*lpAddr)

This function is retained until PLC data is transferred from the POD.
• Parameters
*IpOnFlag Returns the bit status. 0: OFF 1: ON
DeviceType Address of the device to be read (Refer to “Chapter 2” to “Chapter 34.”)
addr Top memory address to be read
* For Yokogawa or Yaskawa PLCs, specify a number “−1” for the address
(addr).
Example: D400 → 399 D25 → 24
BitNo Bit number to be read
Example 1: When accessing to D20-05 of MITSUBISHI PLC
DeviceType 0
addr 20
BitNo 5
Example 2: When accessing to M20 of MITSUBISHI PLC
20 ÷ 16 = 1 ... 4
DeviceType 6
addr 1
BitNo 4
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
App5-34 Appendix 5 Ethernet

Read Bits from Internal Memory


int HKEtn_ReadInternalBitMemory(int *lpOnFlag,int DeviceType,DWORD addr,int BitNo,char
*lpAddr)

This function is retained until data is transferred from the POD.


• Parameters
*IpOnFlag Returns the bit status. 0: OFF 1: ON
DeviceType 0: $u 1: $s 2: $L 3: $LD 4: $T
addr Top memory address to be read
BitNo Bit number to be read
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Read Bits from Memory Card Memory


int HKEtn_ReadCardBitMemory(int *lpOnFlag,int FileNo,int RecordNo,DWORDaddr,int
BitNo,char *lpAddr)

This function is retained until data is transferred from the POD.


• Parameters
*IpOnFlag Returns the bit status. 0: OFF 1: ON
FileNo File number
RecordNo Record number
addr Top memory address to be read
BitNo Bit number to be read
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
Appendix 5 Ethernet App5-35

Write
Write Words to PLC Memory
int HKEtn_WritePlcMemory(WORD *sp,unsigned short Wordcnt,int DeviceType,DWORD
addr,char *lpAddr, int DFlag=1)

This function is retained until write completion is received from the POD.
(It is reset on receipt of write completion to the PLC memory.)
• Parameters
*sp Target block pointer

Contents Word Count


No. 1 1
No. 2 1
• •
• •
• •

No. n 1

Wordcnt Word count to be transferred (max. 2000 words)


DeviceType Address of the device to be written (Refer to “Chapter 2” to “Chapter 34.”)
addr Top memory address to be written
* For YOKOGAWA or YASKAWA PLCs, specify a number “−1” for the
address (addr).
Example: D400 → 399 D25 → 24
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page App5-31.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
App5-36 Appendix 5 Ethernet

Write Double-words to PLC Memory


int HKEtn_WritePlcMemory2(DWORD *sp,unsigned short Wordcnt,int DeviceType,DWORD
addr,char *lpAddr, int DFlag=1)

This function is retained until write completion is received from the POD.
(It is reset on receipt of write completion to the PLC memory.)
• Parameters
*sp Target block pointer

Contents Word Count


No. 1 2
No. 2 2
• •
• •
• •

No. n 2

Wordcnt Word count to be transferred (max. 1000 words)


DeviceType Address of the device to be written (Refer to “Chapter 2” to “Chapter 34.”)
addr Top memory address to be written
* For YOKOGAWA or YASKAWA PLCs, specify a number “−1” for the
address (addr).
Example: D400 → 399 D25 → 24
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page App5-31.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Write Words to Internal Memory


int HKEtn_WriteInternalMemory(WORD *sp,unsigned short Wordcnt,int DeviceType,DWORD
addr,chr *lpAddr,int DFlag=1)

This function is retained until write completion is received from the POD.
(It is reset on receipt of write completion to the internal memory.)
• Parameters
*sp Target block pointer

Contents Word Count


No. 1 1
No. 2 1
• •
• •
• •

No. n 1

Wordcnt Word count to be transferred (max. 2000 words)


DeviceType 0: $u 1: $s 2: $L 3: $LD 4: $T
addr Top memory address to be written
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page App5-31.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
Appendix 5 Ethernet App5-37

Write Words to Memory Card Memory


int HKEtn_WriteCardMemory(WORD *sp,unsigned short Wordcnt,int FileNo,int
RecordNo,DWORD addr,char *lpAddr,int DFlag=1)

This function is retained until write completion is received from the POD.
(It is reset on receipt of write completion to the memory card memory.)
• Parameters
*sp Target block pointer

Contents Word Count


No. 1 1
No. 2 1
• •
• •
• •

No. n 1

Wordcnt Word count to be transferred (max. 2000 words)


FileNo File number
RecordNo Record number
addr Top memory address to be written
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page App5-31.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Write Bits to PLC Memory


int HKEtn_WritePlcBitMemory(int DeviceType,DWORD addr,int BitNo,int OnFlag,char *lpAddr)

This function is retained until write completion is received from the POD.
(It is reset on receipt of write completion to the PLC memory.)
• Parameters
DeviceType Address of the device to be written (Refer to “Chapter 2” to “Chapter 34.”)
addr Top memory address to be written
* For YOKOGAWA or YASKAWA PLCs, specify a number “−1” for the
address (addr).
Example: D400 → 399 D25 → 24
BitNo Bit number to be accessed
Example 1: When accessing to D20-05 of MITSUBISHI PLC
DeviceType 0
addr 20
BitNo 5
Example 2: When accessing to M20 of MITSUBISHI PLC
20 ÷ 16 = 1 ... 4
DeviceType 6
addr 1
BitNo 4
OnFlag 0: OFF 1: ON
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
App5-38 Appendix 5 Ethernet

Write Bits to Internal Memory


int HKEtn_WriteInternalBitMemory(int DeviceType,DWORD addr,int BitNo,int OnFlag,char
*lpAddr)

This function is retained until write completion is received from the POD.
(It is reset on receipt of write completion to the internal memory.)
• Parameters
DeviceType 0: $u 1: $s 2: $L 3: $LD 4: $T
addr Top memory address to be written
BitNo Bit number to be accessed
OnFlag 0: OFF 1: ON
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Write Bits to Memory Card Memory


int HKEtn_WriteCardBitMemory(int FileNo,int RecordNo,DWORD addr,int BitNo,int OnFlag,char
*lpAddr)

This function is retained until write completion is received from the POD.
(It is reset on receipt of write completion to the memory card memory.)
• Parameters
FileNo File number
RecordNo Record number
addr Top memory address to be written
BitNo Bit number to be accessed
OnFlag 0: OFF 1: ON
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Others Functions
Initialization Function
int HKEtn_Init(unsigned short Port=10000,int Retry=3,int RecvTime=2,int RecvTime2=10)

Creates a socket.
• Parameters
Port Set 10000 or above.
Retry Number of send retrials
RecvTime Receive timeout *1
RecvTime2 Receive timeout 2 *2
*1 When “HKEtn_Recvfrom()” is used, the time for [RecvTime] is used for timeout judgment.
*2 When “HKEtn_Readxxx” or “HKEtn_Writexxx” is used, both the times for [RecvTime] and
[RecvTime2] are used for timeout judgment.
Total time for timeout = [RecvTime] × [RecvTime2] × [Retry] (seconds)

• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
Appendix 5 Ethernet App5-39

Receive Wait from POD


int HKEtn_Recvfrom(BYTE *dp,short *lpCnt)

This function is retained internally until data is received from the POD.
The function returns a response and ends only when a command is received.
The user should interpret the received data and create the next action.
This function must be executed within the thread.
• Parameters
*dp Top pointer of receive buffer
Allocate 5000 bytes.
*lpCnt Returns the number of bytes received.
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Cancel Receive Wait Function


void HKEtn_Cancel(void)

Cancels the function in the receive wait status, such as Recvfrom().

Request Connection Information


int HKEtn_GetInf(struct inf *lpinf,char *lpAddr)

• Parameters
*Ipinf All “0”
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().

Close Processing
int HKEtn_Close()

Execute this function when ending HKEtn10.dll.

Get Source’s IP Address


int HKEtn_GetSinAddr(char *lpAddr)

Execute this function after the recvfrom() function or receiving the data.
App5-40 Appendix 5 Ethernet

Get Error Contents


int HKEtn_GetLastError()
• Error codes and solutions

Code Contents Solution


−1 Undefined command (receive timeout) Check the command.
−2 Undefined IP address Check the IP address.
−3 Target station busy Reduce the frequency of communications.
−4 Illegal packet bytes Check response processing at the target station.
Packet bytes exceed the maximum
−5 Reduce the send packet size.
number.
−6 Local mode error Check that the target station is in the RUN mode.
Start communications when the target station is
−7 Preparing for communications
ready.
−8 Communication failure – Cannot access Check the target station.
−9 Cannot process due to short memory Check the memory space at the target station.
−10 Illegal received data Check the command.
−20 Socket initialization error Check parameters for initialization.
Requested packet byte exceeds the
−50 Reduce the requested size.
maximum number.
−51 Address error Check the requested memory type.
−52 Communication failure – Cannot access Check the target station.
−54 Write protected Check write-protection of the card.
−55 Cannot process due to short memory Check the memory space at the target station.
−56 Sampling buffer error Check the command.
−100 Processing another command Continue retrying.
−101 Command control – Buffer over Reduce the frequency of communications.
−120 Communications aborted by the user Communications are forcibly aborted.
−121 Received during command processing Reduce the frequency of communications.
Appendix 5 Ethernet App5-41

Server Communication Procedure

Data Request from POD to Server


(1) Execute the receive wait thread using “int <Server>
HKEtn_RecvFrom()” on the application of
the server. (1)
Application
(2) Send the command from the POD to the
server using macro command SEND.
(3) The server analyzes the command and
takes the appropriate action. (2)

Ethernet
User data format (3)
Transfer from the POD

Item Bytes SEND <POD>


Packet bytes
2
2+2+1+n
(3)
Transaction No. 2
Command (0x33) 1
User data n <PLC>

PLC Data Request from Server to POD


(1) A request is sent from the application <Server>
of the server to the POD.
Use “int HKEtn_ReadPlcMemory()” for Application
a memory request.
(2) (3) The POD reads the PLC memory.
(4) The POD returns data read from the
PLC memory to the server.
(1)

Ethernet
(4)

<POD>

(2) (3)

<PLC>
App5-42 Appendix 5 Ethernet

Error Display
Error messages displayed on the POD and those stored in the system memory are explained.

Communication Errors
The Ethernet status is stored in system memory address $s518 of the POD during Ethernet
communications
The communication error occurs when a code other than “0” (normal) is stored in system memory
address $s518.
• In the RUN mode

* When [Continue] is selected for [Comm.


Communication Error Err. Handling] in the [Detail] tab window of
the [Comm. Parameter] dialog, a
Ethernet Error:XXXX following screen is displayed.
Screen No. : Received Code No. :

Retry
Communication Error
Ethernet Error:XXXX

The error number is displayed here.

• To check the occurrence of an error on the Main Menu screen:

Main Menu UG430H-TH1 2002-4 -1 07:23:30

System Information FONT I/F DRV VER.1.310


SYSTEM PROG. VER. 1.010 VER.1.300 / 1.000 / 1.000 YOKOGAWA FA-M3
ENGLISH Ethernet

Screen Data PLC Type : YOKOGAWAFA-M3/FA-M3R(Ethernet) Error : Stop


Ethernet Information
Information
Size : 5783552
Comment : Time-Out : 0.50 sec
Retry : 3
Trans.Speed : 10BASE-T
Ethernet Information Stat. No. : 192.168.1.68
Trans.Speed : 10BASE-T
Stat. No. : 192.168.1.68
PORT: 10000
PORT: 10000
MAC: 0050FF000035
MAC: 0050FF000035 Error:XXX
The error number is displayed here.
SRAM/Clock The error number
Ethernet
is displayed here.
Editor:MJ1 Card I/O Test
Menu
Appendix 5 Ethernet App5-43

• System memory: $s518

No. Contents Solution


0 Normal
Check cable connection and network table setting of
200 Failed in send request
the target station.
Check that the setting on the target station is
201 Send error
consistent with the network table setting.
The communication unit is in the older version or is
202 Internal port error
faulty.
The number of connections reaches the maximum,
204 TCP connection over and no more connection is possible.
Check the communication lines.
Connection cannot be established.
205 TCP connection error Check the communication lines, or turn the power off
and on.
TCP communication disconnection has failed.
206 TCP connection end error Check that the communication partner with the POD
is present on the line.
TCP communication has failed.
207 TCP send error
Check the communication lines.
350 Send buffer full The line is busy. Consult the network administrator
of your company.
351 IC receive buffer overflow
The communication unit is in the older version or is
352 Driver receive buffer overflow faulty.
Check the HUB or the link confirmation LED on the
Receive processing error communication unit. If the LED is not on, check
801
Link down error cable connection and the port setting on the network
table.
802 Transceiver error Check the transceiver and cable connection.
900 No IP address at local port Check that the IP address of the local port is set on
the network table.
901 Duplicated IP address error Check if the same IP address is set on the network.
Send socket ID error (error that may
Turn the power off and back it on. If the problem
902 occur when UG30 (high-performance
persists, contact your local distributor.
type) LAN port is used)
1000 Ethernet I/F unit not mounted
1001 Ethernet I/F unit not ready
1002 Ethernet I/F unit DPRAM error
1003 No response from Ethernet I/F unit
1004 Ethernet receive buffer over
1005 Ethernet send registration error Check whether the Ethernet I/F unit is mounted
correctly, and then turn the power off and on.
1006 I/F unit unregistered interrupt If the problem persists, contact your local distributor.
1100 to 1115 Initialization error (communication unit)
1120 Dual port access error
1200 Undefined register
1201 Send/receive buffer area over
1202 MAC address error
1203 Port error
Check whether the Ethernet I/F unit is mounted
1301 Watch dog overflow correctly, and then turn the power off and on.
If the problem persists, contact your local distributor.
1302 JAVA error LANC error
App5-44 Appendix 5 Ethernet

Errors during Macro Command Execution


The execution result of macro commands SEND/EREAD/EWRITE is stored in system memory
address $s515.
• System memory address: $s515 (response to the request)

Code Contents Solution


0 Normal
200 to 2000 Communication error Refer to “Communication Errors.”
−30 Timeout Check if an error is occurring to the target POD.
The number of words being sent Check the number of words that can be sent in
−31
exceeds the limit. macro editing.
−32 Specified table not used Check the setting on the network table.
−33 Cannot use the send command. Check the macro command in macro editing.
Check that system memory address $s514 is set. If
−34 Specified table being used
not, reduce the frequency of communications.
−35 Cannot process due to short memory Check the memory space at the target station.
−36 Illegal receive packet bytes Check the requested number of words.
−37 Memory access error Check the setting of the requested memory.
−38 Macro setting error Check the macro setting.
Appendix 6 Universal Serial Communications App6-1

Appendix 6 Universal Serial Communications

Interface

Outline of Communication

POD internal user POD


memory Screen No. 0

0 1234
5678
1234
General-purpose 5678
computer (ON)

disc
Dedicated commands

RESET

Read
Write

100
200
300
Screen No. 1

100
200
300

16383

As shown in the diagram above, when a general-purpose computer communicates with the POD, the
general-purpose computer acts as the host and the POD acts as the slave.
Switch, lamp, data display, etc., are allocated within the internal user memory ($u). When a screen
number is specified from the host, a write action takes place to the internal memory address specified
for the screen, and the specified screen is then displayed on the POD.
When a screen is changed internally by a switch, etc., the changed screen number is read, and written
in the memory specified for the screen.
App6-2 Appendix 6 Universal Serial Communications

Differences between Connecting to a General-purpose Computer and Connecting to


the PLC
• Input format (code)
The input format used for screen number, block number, message number, etc, is fixed in [DEC].
• Write area
When connecting to the PLC, only the three words shaded in the diagram below are used, but
when connecting to a general-purpose computer, all 16 words shown below are used.

Address Name Contents


n+0 CFMDAT Sub command/data
n+1 SCRN_COM Screen status
n+2 SCRN_No Displayed screen
n+3 SW0 No. 0 switch data
n+4 SW1 No. 1 switch data
n+5 ENT0 Entry information 0
n+6 ENT1 Entry information 1
n+7 ENT2 Entry information 2
n+8 GREPNS Global response
n+9


• Reserved (7 words)
n + 15
Appendix 6 Universal Serial Communications App6-3

Memory settings (for lamp, data display, etc.) are required during screen creation, and the
memory addresses are mapped as shown below. The memory addresses are $u0 to 16383.
Assign memory addresses for system, lamp, data display, and mode within this range.

POD internal user


memory ($u)

POD screen data


Screen No. 0

1234
1234
0016

General-purpose 0017
computer

Dedicated commands
0020
disc

Read
RESET

Write
0030

1200

1201

1202
Screen No. 1

1350 1234
1234
1234
1352

16383

Word
(16 bits)
App6-4 Appendix 6 Universal Serial Communications

System Composition
• 1 : 1 connection (one computer, one POD unit)
(For wiring, refer to page App6-6 to page App6-10.)

The system composition for a 1 : 1 connection is shown.


1) Can be used when the transmission distance via RS-232C is within 15 m, or the transmission
distance of RS-422 (485) is not greater than 500 m.
2) It is possible to use an interrupt when connecting a computer to a POD unit in a 1 : 1
connection. *
(Switch ON/OFF, ENT key of keypad, screen changing, macro OUT_ENQ)
* For RS-422 (485) 2-wire connection, interrupts cannot be used.
General-purpose computer
POD

disc 1 : 1 Connection

RESET

RS-232C
RS-422

• 1 : n connection (one computer, multiple POD units)


(A maximum of 32 POD units can be connected. For wiring, refer to page App6-8.)
The system composition for a 1 : n connection is shown.
1) A station number specification is necessary to determine which POD will receive a command
when a computer and POD units are 1 : n connected.
2) Interrupt cannot be used when a computer and POD units are 1 : n connected.
General-purpose computer

disc

1 : n Connection
RESET

RS-422

POD POD POD

* When POD units are 1 : n connected, it is convenient to use the UG00P-TC (Terminal
Converter, optional).
Appendix 6 Universal Serial Communications App6-5

Input/Output Connector
The connection method for communication between a general-purpose personal computer and a POD
unit is shown in the diagram below.
• For UG30/20:

General- UG30/20
purpose
computer
RS422

CN1
RS232C

• For UG230 + UG230A-DCL:

UG230
General-
purpose UG230A
computer -DCL
RS422
CN1

RS232C

• For UG230:

General- UG230
purpose
computer

RS422
MJ2

RS232C
App6-6 Appendix 6 Universal Serial Communications

Wiring
• Connect the shielded cable either to the POD or PLC side. This connection diagram shows the
case where the shielded cable is connected on the POD side.
When connecting the shielded cable to the POD side, connect it to pin 1 of the connector or the
connector case cover.
The metal shell of modular jack 2 on the UG230 is used as SG. Connect the shielded cable to the
metal shell of modular jack 2.
• For the specifications of CN1 and MJ2 (UG230), refer to “Interface” (page 1-5).

CN1 - RS-232C

POD (CN1) General-purpose computer

Signal Pin No. Signal Pin No.


Name Name

FG 1 FG 1
SD 2 SD 2
RD 3 RD 3
RS 4 RS 4
CS 5 CS 5
SG 7 SG 7
* Use twist-shielded cables.

<Executing Flow Control>


POD (CN1) General-purpose computer

Signal Pin No. Signal Pin No.


Name Name

FG 1 FG 1
SD 2 SD 2

RD 3 RD 3
RS 4 RS 4
CS 5 CS 5
SG 7 SG 7
* Use twist-shielded cables.
Appendix 6 Universal Serial Communications App6-7

CN1 - RS-422
• 1 : 1 Connection

<4-wire system> POD (CN1) General-purpose computer


Signal Pin No. Signal
Name Name

FG 1 FG
+SD 12 RDA
−SD 13 RDB
+RD 24 SDA

−RD 25 SDB
SG 7 SG
* Use twist-shielded cables.

<2-wire system> POD (CN1) General-purpose computer


Signal Signal
Pin No.
Name Name

FG 1 FG
+SD 12 RDA
−SD 13 RDB
+RD 24 SDA
−RD 25 SDB
SG 7 SG

* Use twist-shielded cables.

* Use UG00P-TC (Terminal Converter, optional) when POD is connected on the terminal block.

<Executing Flow Control>


UG00P-TC can not be used.
POD (CN1) General-purpose computer

Signal Pin No. Signal


Name Name

FG 1 FG
+SD 12 RDA
−SD 13 RDB
−CS 18 RSB

+CS 19 RSA

+RD 24 SDA
−RD 25 SDB

SG 7 SG

* Use twist-shielded cables.


App6-8 Appendix 6 Universal Serial Communications

• 1 : n Connection
<2-wire system>
- When UG00P-TC is used:
General-purpose
POD+UG00P-TC (SW: Lower) POD+UG00P-TC (SW: Lower) POD+UG00P-TC (SW: Lower) computer
Signal Signal Signal Signal
Name Name Name Name
FG FG FG FG
+SD +SD +SD RDA

−SD −SD −SD RDB


+RD +RD +RD SDA
−RD −RD −RD SDB

SG SG SG SG

Terminating resistance (ON) Terminating resistance (OFF) Terminating resistance (OFF)

* Use twist-shielded cables.

- When UG00P-TC is not used:


Install jumpers between +RD/+SD and −RD/−SD.

<4-wire system>
General-purpose
POD+UG00P-TC (SW: Upper) POD+UG00P-TC (SW: Upper) POD+UG00P-TC (SW: Upper) computer
Signal Signal Signal Signal
Name Name Name Name
FG FG FG FG
+SD +SD +SD RDA

−SD −SD −SD RDB


+RD +RD +RD SDA
−RD −RD −RD SDB

SG SG SG SG

Terminating resistance (ON) Terminating resistance (OFF) Terminating resistance (OFF)

* Use twist-shielded cables.

MJ2 (UG230 only) RS-232C

To use an MJ2 on a UG230 as an RS-232C/RS-485 connector, set the slide switch on


CAUTION the UG230 to the upper position: RS-232C/RS-485.
For more information, refer to “Interface” (page 1-5).

UG230 (MJ2) General-purpose computer


Signal Pin No. Signal Pin No.
Name Name

SG SHELL FG 1
SD 8 SD 2
RD 7 RD 3
SG 5 RS 7

CS 8
SG 5
* Use twist-shielded cables.
Appendix 6 Universal Serial Communications App6-9

MJ2 (UG230 only) RS-422

To use an MJ2 on a UG230 as an RS-422 (4-wire) connector, set the slide switch on the
CAUTION UG230 to the lower position: RS-422.
For more information, refer to “Interface” (page 1-5).

• 1 : 1 Connection
UG230 (MJ2) General-purpose computer
Signal Pin No. Signal
Name Name

SG SHELL FG
+SD 1 RDA
−SD 2 RDB
+RD 7 SDA
−RD 8 SDB
* Use twist-shielded cables.

• 1 : n Connection
General-purpose
computer
Signal
UG230 (MJ2) Name
Signal
Pin No. FG
Name
+SD 1 +SD RDA

-SD 2 -SD RDB


Terminating resistance
(OFF) +RD 7 +RD SDA

-RD 8 -RD SDB

SG 5 SG SG

UG230 (MJ2)
Signal
Pin No.
Name
+SD 1 +SD

-SD 2 -SD
Terminating resistance
(OFF) +RD 7 +RD
-RD 8 -RD

SG 5 SG

UG230 (MJ2)
Signal
Pin No.
Name
+SD 1 +SD

-SD 2 -SD
Terminating resistance
(ON) +RD 7 +RD
-RD 8 -RD

SG 5 SG
* Use twist-shielded cables.
App6-10 Appendix 6 Universal Serial Communications

MJ2 (UG230 only) RS-485

To use an MJ2 on a UG230 as an RS-485 (2-wire) connector, set the slide switch on the
CAUTION UG230 to the upper position: RS-232C/RS-485.
For more information, refer to “Interface” (page 1-5).

• 1 : 1 Connection
UG230 (MJ2) General-purpose computer
Signal Pin No. Signal
Name Name

SG SHELL FG
+SD 1 RDA
−SD 2 RDB
+RD 7 SDA
−RD 8 SDB
* Use twist-shielded cables.

• 1 : n Connection

General-purpose
computer
Signal
UG230 (MJ2)
Name
Signal
Pin No. FG
Name
+SD 1 +SD RDA

-SD 2 -SD RDB


Terminating resistance
(OFF) +RD 7 +RD SDA

-RD 8 -RD SDB

SG 5 SG SG

UG230 (MJ2)
Signal
Pin No.
Name
+SD 1 +SD

-SD 2 -SD
Terminating resistance
(OFF) +RD 7 +RD
-RD 8 -RD

SG 5 SG

UG230 (MJ2)
Signal
Pin No.
Name
+SD 1 +SD

-SD 2 -SD
Terminating resistance
(ON) +RD 7 +RD
-RD 8 -RD

SG 5 SG

* Use twist-shielded cables.


Appendix 6 Universal Serial Communications App6-11

System Setting

Model Setting
Select universal serial as the model that will communicate with the POD.
1) From the menu bar, go to [System Setting] and click on [PLC
Type].

2) The [Select PLC Type] dialog is displayed. Select [Universal


Serial] and click the [OK] button.

Communication Parameter
Make communication parameter settings.
1. From the menu bar, go to [System Setting], and click on [Comm.
Parameter].

2. The [Comm. Parameter] dialog is displayed. In the [Main 1], [Main 2],
and [Detail] tab windows, set the baud rate, the signal level, etc.

When using multi-drop, go to the [Detail] tab window, check [1 : n] for [Connection], and enter
[Local No].
It is possible to set the transmission mode by going to the [Detail] tab window and making
settings for [Trans. Mode].
App6-12 Appendix 6 Universal Serial Communications

Setting Items
• Baud Rate
Set the communication speed between the host and the POD. The possible speed settings are
shown below.
4800 bps
9600 bps
19200 bps
38400 bps
57600 bps
76800 bps
115200 bps
• Signal Level
Set the communication level between the host and the POD.
RS-232C/RS-422
• Read Area
This memory area is necessary when the display screen is changed by a command received from
the host. Be sure to allocate only $u memory. Address allocation is shown in the table below. For
details on addresses, refer to “Chapter 1” in the User’s Manual <Function> (FEH376).
Address Name Contents
n+0 RCVDAT Sub command/data
n+1 SCRN_COM Screen status command
n+2 SCRN_No External screen command

• Write Area
This memory area is used to write information regarding screen number, overlap, and input mode
when the screen display status is changed by a command received from the host. Be sure to
allocate only $u memory.
Address allocation is shown in the table below.
Address Name Contents
n+0 CFMDAT Sub command/data
n+1 SCRN_COM Screen status
n+2 SCRN_No Displayed screen
n+3 SW0 No. 0 switch data
n+4 SW1 No. 1 switch data
n+5 ENT0 Entry information 0
n+6 ENT1 Entry information 1
n+7 ENT2 Entry information 2
n+8 GREPNS Global response
n+9


• Reserved (7 words)
n + 15

For details on addresses (n + 0 to n + 2), refer to “Chapter 1” in the User’s Manual <Function>
(FEH376).
- n + 3 (SW0) switch data No. 0, n + 4 (SW1) switch data No. 1
When the switch output memory is set at an address location from 80 to 95 in the system
memory ($s) of internal memory, the switch number is written on lower 8 bits.
The relationship between the switch number and the bit is shown in the following table. (Refer
to page App6-36.)
Appendix 6 Universal Serial Communications App6-13

n + 3, n + 4 (SW0/SW1)

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0 0 0 0 0

Switch status Switch number


0: OFF
1: ON

- System memory ($s) within internal memory

Address Contents
000 Screen number
001
002 Overlap 0 Status 0: OFF 1: ON
003 Overlap 1 Status 0: OFF 1: ON
004 Overlap 2 Status 0: OFF 1: ON

080 Universal serial port switch output 0 Output code 0 - 15


081 Universal serial port switch output 1 Output code 16 - 31
082 Universal serial port switch output 2 Output code 32 - 47
083 Universal serial port switch output 3 Output code 48 - 63
084 Universal serial port switch output 4 Output code 64 - 79
085 Universal serial port switch output 5 Output code 80 - 95
086 Universal serial port switch output 6 Output code 96 - 111
087 Universal serial port switch output 7 Output code 112 - 127
088 Universal serial port switch output 8 Output code 128 - 143
089 Universal serial port switch output 9 Output code 144 - 159
090 Universal serial port switch output 10 Output code 160 - 175
091 Universal serial port switch output 11 Output code 176 - 191
092 Universal serial port switch output 12 Output code 192 - 207
093 Universal serial port switch output 13 Output code 208 - 223
094 Universal serial port switch output 14 Output code 224 - 239
095 Universal serial port switch output 15 Output code 240 - 255

* The switch interrupt information of SW0 and SW1 is written only when the [Output Action]
of a switch is [Momentary] or [Momentary W].

Example: The relationship between the switch output memory setting and the switch
number is shown in the following table.

Output Memory Switch No.


$s 080-00 0
$s 085-10 90
$s 095-15 255
App6-14 Appendix 6 Universal Serial Communications

- n + 5 (ENT0) entry information 0, n + 6 (ENT1) entry information 1


The same contents as n + 0 and n + 1 of the [Info. Output Memory] that is set in the entry
mode are written. Write operation occurs when the [ENTER] key is pressed in the entry mode.
When the entry selection has changed, write operation will not occur.
When (n + 5) entry information 0 is read by the host, writing completed bit (bit 15) is reset.
Data is written in the backup (escape) area before it is read. (Refer to page App6-15.)
- n + 7 (ENT2) entry information 2
The entry mode window number where a write operation was executed is written.
The relationship between the window number and base and the window number and overlap
is shown in the following table.

Window No. Contents


0 Base entry mode
1 Overlap 0 entry mode
2 Overlap 1 entry mode
3 Overlap 2 entry mode

* In case of using the Table Data Display(s) as the entry targets of the Entry mode
The line number and the column number will be output to the address n + 1 and the block
number to the address n + 2 of the “Info. Output Memory,” when the bit No.12 of
“Command Memory” in the [Entry] dialog is ON [1].
In only this case, therefore, the window number cannot be referred because the block
number is output to the address n + 7 (ENT2) of the write area.
Please take note of this.
- n + 8 (GREPNS) global response
A response to a global command is written. The contents of a response are shown in the
following table.
Memory Contents Contents
0000 Global command not received
0100 ACK
Identical to NAK code
Others
(Refer to page App6-37.)

- n + 9 to n + 15
Reserved for functions expanded in the future.
• Calendar
The values written in the calendar area are used for the calendar display. Set the top memory
number. The relationship between memory and the calendar is shown in the following table.
Memory Contents
n+0 Year (BCD 0 to 99)
n+1 Month (BCD 1 to 12)
n+2 Day (BCD 1 to 31)
n+3 Hour (BCD 0 to 23)
n+4 Minute (BCD 0 to 59)
n+5 Second (BCD 0 to 59)
n+6 Day of the week (BCD 0 to 6)
Calendar settings are performed in the read area under [RCVDAT (n + 0)] at the leading edge of
bit 11.
The POD calendar uses the CPU clock. When precise time is necessary, set the calendar once a
day. (Time loss: approximately 90 seconds a month.)
• Read Clear Top Address (Set user memory within internal memory.)
The read clear area is the starting area from which the POD clears words that were previously
read. Due to the fact that it is cleared to “0,” once this area is read, the data remains at “0” even if
you attempt to read again when a read response error occurs. Set the area’s top address number.
Appendix 6 Universal Serial Communications App6-15

• Read Clear Words


Set the number of words that will be used for clearing the read area.
• Read Clear Escape (Backup) Address
Set the top address for the read clear backup area. The area size will be the same as the
previously described read clear area.
The number of words written in the read clear backup area are the same as the number specified
for the read clear area.

- Read Clear and Read Clear Backup Action


The action that occurs when a read command from the host tries to access to the read clear
area is shown in the following diagram.
Following allocation of the read clear backup area, backup data of the system memory write
area is stored as shown below.

Read command

Data transmission to
the specified address

Address is in the read NO


clear area.
YES
Data is copied to the read
clear backup area.

Data clear

Address +1

NO
Transmission word −1
transmission
YES
Finish

Read clear backup area


n+0

Backup words

CFMDAT
SCRN_COM
SCRN_No
SW0
SW1
ENT0
ENT1
ENT2
GREPNS
Reserved (7 words)
App6-16 Appendix 6 Universal Serial Communications

• Default Initial Screen


Set the number of the screen to be displayed when power to the POD is turned on.
• Interrupt
There are five interrupt settings:
Switch ON interrupt
Switch OFF interrupt
Keypad interrupt
Screen interrupt
Macro: OUT_ENQ
For details, refer to page App6-34.
• Execute Flow Control (disabled for UG230)
Check the [Execute Flow Control] when interrupt from POD is needed to be prohibited. (e.g. when
the host cannot receive interrupt data)
The action when you check the [Execute Flow Control] is shown below.
- When CS (pin 4) on POD side is ON:
Interruption is output.
- When CS (pin 4) on POD side is OFF:
Interruption is not output.
When CS is ON, interruption information stored by then is output in succession.
(Interruption information for 3 times can be stored at the most.)
• Not remain the output signal OFF
This setting is available only for 1 : 1 communication with RS422 using four-wire.
Normally, POD uses the same cables to send or receive data. For this reason, send output
remains OFF (High impedance) except for sending signals from POD.
However, depending on the host specifications, send output OFF operation from the POD is not
required. In this case, you must check [ Not remain the output signal OFF].
• Execute 2 Wire Control
This setting is available only for 1 : 1 communication with RS-422 using 2-wire.
In such a case, however, interrupt is not usable.
• Connection
Set the connection method for the POD and host.
1 : 1 ........... There is one POD machine and one host.
1 : n ........... Multiple POD units are connected to one host.
• Local Station Number
When multiple POD machines are connected to one host, set a station number for each POD.
• Parity
None
Odd
Even
• Send Delay Time
Set the time for POD to send a response to a host after receiving a command from a host.
• Busy Time
For details, refer to page App6-25.
• Trans. Mode
Set whether or not there should be a CR/LF or sum check at the end of transmission data.
• Data Length
Fixed at 8 bits.
• Stop Bit
Stop bit settings are shown below.
1 bit
2 bits
• Code
Fixed at DEC.
Appendix 6 Universal Serial Communications App6-17

• Text Process
When using text process, choose either [LSB to MSB] or [MSB to LSB] in order to make
arrangements for the order of the first and the second bytes in one word.
15 0
[LSB → MSB] MSB LSB
2nd byte 1st byte

15 0
[MSB → LSB] MSB LSB
1st byte 2nd byte

Standard Type Protocol

Standard Type Protocol


The connection mode and transmission mode are set in [Comm. Parameters] under [System Setting].
(Refer to “1. Before Connecting to PLC.”)
The mode contents are as follows.
• Connection mode
1 : 1: Used when one host communicates with one POD unit (1 : 1).
1 : n: A maximum of 31 POD units are possible to be connected to the host. (Multi-drop
specifications)
• Transmission mode
There are four transmission modes, depending on whether or not sum check or CR/LF is attached
to the end of transmission and received data, as shown below.
Transmission Mode Sum Check CR/LF
1
2
3
4
Set whether or not to attach sum check or CR/LF to the end of transmission data.
* “ ” indicates that there is an attachment.
App6-18 Appendix 6 Universal Serial Communications

Connection (1 : 1), Transmission Mode (w/ sum check)


Used when one host communicates with one POD unit (1 : 1).
Contents Protocol

C
S o D D E S
m Transmission Transmission
T m L data L data T U
a
X n E Part A E Part B X M
d
Host side
HL HL

POD side
SYSTEM

Transmission S D D E S
Transmission Transmission
F 1

F 2

F 3

F 4

F 5

POWER RUN
F 6

F 7

sequence T L data L data T U


When POD data is
read from the host side X E Part A E Part B X M

HL

or

N Error
A

K code

HL

C
S o D D E S
m Transmission Transmission
T m L data L data T U
a
X n E Part A E Part B X M
d
Host side
HL HL

POD side
SYSTEM

A
Transmission
F 1

F 2

F 3

F 4

F 5

sequence
F 6

C
F 7

When the host writes


POWER RUN

data on the POD K

or

N Error
A

K code

HL
Appendix 6 Universal Serial Communications App6-19

<Interrupt Processing (See page App6-34 and page App6-35.)>


• Interrupt conditions
An interrupt code is sent to the host for the following actions.
- When the switch status changes from ON to OFF or from OFF to ON
- When the [ENTER] switch on the keypad changes from OFF to ON. (If [ Use the Write
Flag] in [System Setting] is checked, write enable bit must be set in order to send interruption.)
- When the screen changes by using an internal switch
- When OUT_ENQ in a macro command is run.
• Interrupt timing
When an interrupt condition occurs while the host is transmitting a command or before the POD
machine transmits a response, the interrupt code will be transmitted before the response is
transmitted.
To use an interrupt, it is necessary to enable interrupt code detection when a response is received
on the host program.

Command

Host side
(command)

POD side E
Interrupt C L
N DATA
code R F
Q
HL

Interrupt
occurrence

Interrupt Interrupt data Response

• Interrupt code
00H When a regular switch is pressed
01H When the [ENTER] switch on the keypad is pressed
02H When a screen internal switching occurs
10H


• In the case of macro command (user setting)
2FH
App6-20 Appendix 6 Universal Serial Communications

Connection (1 : 1), Transmission Mode (w/ sum check and CR/LF)


Used when one host communicates with one POD unit (1 : 1).
Contents Protocol

C
S o D D E S
m Transmission Transmission C L
T m L data L data T U
a R F
X n E Part A E Part B X M
d
Host side
HL HL

POD side
SYSTEM

S D D E S
Transmission Transmission
F 1

F 2

F 3

F 4

F 5
Transmission C L
POWER RUN
F 6

F 7

sequence T L data L data T U


When POD data is R F
read from the host side X E Part A E Part B X M

HL

or

N Error
C L
A
R F
K code

HL

C
S o D D E S
m Transmission Transmission C L
T m L data L data T U
a R F
X n E Part A E Part B X M
d
Host side HL HL

POD side
SYSTEM

F 1

F 2

Transmission A
C L
F 3

F 4

F 5

F 6

F 7

sequence C
When the host writes
POWER RUN

R F
data on the POD K

or

N Error
C L
A
R F
K code

HL
Appendix 6 Universal Serial Communications App6-21

<Interrupt Processing (See page App6-34 and page App6-35.)>


• Interrupt conditions
An interrupt code is sent to the host for the following actions.
- When the switch status changes from ON to OFF or from OFF to ON
- When the [ENTER] switch on the keypad changes from OFF to ON. (If [ Use the Write
Flag] in [System Setting] is checked, write enable bit must be set in order to send interruption.)
- When the screen changes by using an internal switch
- When OUT_ENQ in a macro command is run.
• Interrupt timing
When an interrupt condition occurs while the host is transmitting a command or before the POD
machine transmits a response, the interrupt code will be transmitted before the response is
transmitted.
To use an interrupt, it is necessary to enable interrupt code detection when a response is received
on the host program.

Command

Host side
(command)

POD side
E
Interrupt C L
N DATA
code R F
Q
HL

Interrupt
occurrence

Interrupt Interrupt data Response

• Interrupt code
00H When a regular switch is pressed
01H When the [ENTER] switch on the keypad is pressed
02H When a screen internal switching occurs
10H


• In the case of macro command (user setting)
2FH
App6-22 Appendix 6 Universal Serial Communications

Connection (1 : n), Transmission Mode (w/ sum check)


It is possible to attach as many as 32 POD units to one host.
(For information on the global command, refer to page App6-26.)
Contents Protocol

S C
t
S a o D D E S
t m Transmission Transmission
T oi m L data L data T U
n a
X n E Part A E Part B X M
N d
o.
Host side HL HL HL

POD side S
t
SYSTEM

S a D D E S
Transmission Transmission Transmission
F 1

t
F 2

F 3

F 4

i
F 5

F 6

F 7

sequence T o L data L data T U


When POD data is
POWER RUN

n
read from the host side X N E Part A E Part B X M
o.
HL HL

or

S
t
N a Error
t
i
A o
n
K N code
o.
HL HL

S C
t
S a o D D E S
t m Transmission Transmission
T oi m L data L data T U
n a
X n E Part A E Part B X M
N d
o.
Host side HL HL HL

POD side S
t
SYSTEM

A a
Transmission
F 1

t
F 2

F 3

F 4

i
F 5

sequence
F 6

C o
F 7

When the host writes


POWER RUN

n
data on the POD K N
o.
HL

or

S
t
N a Error
t
i
A o
n
K N code
o.
HL HL
Appendix 6 Universal Serial Communications App6-23

Connection (1 : n), Transmission Mode (w/ sum check and CR/LF)


It is possible to attach as many as 32 POD units to one host.
(For information on the global command, refer to page App6-26.)
Contents Protocol

S C
t
S a o D D E S
t m Transmission Transmission C L
T oi m L data L data T U
n a R F
X n E Part A E Part B X M
N d
o.
Host side
HL HL HL

POD side S
t
SYSTEM

Transmission S a D D E S
Transmission Transmission
F 1

t
F 2

C L
F 3

F 4

i
F 5

F 6

F 7

sequence T o L data L data T U


When POD data is
POWER RUN

n R F
read from the host side X N E Part A E Part B X M
o.
HL HL

or

S
t
N a Error
t C L
i
A o
n R F
K N code
o.
HL HL

S C
t
S a o D D E S
t m Transmission Transmission C L
T oi m L data L data T U
n a R F
X n E Part A E Part B X M
N d
o.
Host side HL HL HL

POD side S
t
SYSTEM

F 1

Transmission A a
t
F 2

C L
F 3

F 4

F 5

F 6

F 7 sequence i
C o
When the host writes
POWER RUN

n R F
data on the POD K N
o.
HL

or

S
t
N a Error
t C L
i
A o
n R F
K N code
o.
HL HL
App6-24 Appendix 6 Universal Serial Communications

Data Items for Protocols


• Transmission control code
The transmission control codes are shown in the table below.
Signal Name Code (Hexadecimal) Contents
STX 02H Start of transmission block
ETX 03H End of transmission block
ENQ 05H Interrupt
ACK 06H Positive acknowledge
CR 0DH Carriage return
DLE 10H Change contents within a block
NAK 15H Negative acknowledge
LF 0AH Line feed

• Port number
Port numbers are used so that the host computer can identify each POD for access. The data
range is from 00H to 1FH (0 to 31) and is converted into two-digit ASCII code (HEX) before use.
The port number of the POD should be set on the UG00S-CW editor.
• Sum check code (SUM)
Data is added up (SUM), and the lower one byte (8 bits) of the sum is converted into the 2-digit
ASCII code (hexadecimal). A sum check code is shown below.
Example: Sum check will be as is shown below when data is transmitted as: command [WM]
(data writing), address [05AD] (1453), and memory data [OF2A] (3882) in
transmission mode [w/o CR/LF, w/ sum check].

STX Command DLE Address Count Memory data ETX SUM

"W" "M" "0" "5" "A" "D" "0" "0" "0" "1" "0" "F" "2" "A" "4" "D"

02H 57H 4DH 10H 30H 35H 41H 44H 30H 30H 30H 31H 30H 46H 32H 41H 03H 34H 44H

02H + 57H + 4DH + 10H + 30H + 35H + 41H + 44H + 30H + 30H + 30H + 31H
+ 30H + 46H + 32H + 41H + 03H = 4DH

However, in the case of an interrupt, data from ENQ to ETX is subject to a sum check.
• Error code
An error code is sent along with an NAK response.
An error code is transmitted as a two-digit ASCII code (HEX). For more information, refer to page
App6-37.
Appendix 6 Universal Serial Communications App6-25

Response Time and BUSY


Response time varies depending on the type of command.
• RM / RI / RC
These commands immediately send a response once receipt of data is complete.
No NAK [01] (BUSY) signal is given.

Host side
(command)

POD
(Response)

T = 10 msec or less

• WM / TR / WI / WC
Once receipt of data is complete, these commands first check the display status. If the display
status is found to be complete, a response is sent and a command is executed.
If the status is BUSY and the display is completed within the time set in [Busy Time], a response is
sent.
If the display is not completed within the specified time, an NAK [01] (BUSY) signal is sent. In this
case, it is necessary to retransmit the command.
When [Busy Time] is set as [0], the machine waits until the display is complete, and then a
response is transmitted after a command is executed.

Host side
(command)

POD
(Response)

T = [Busy Time] + 10 msec or less

Command
• Command
Available commands are shown below.
Signal Name Name Contents
RM Read Read data memory
WM Write Write data memory
TR Retry Retry when NAK [01] is BUSY
WI Interrupt Setting Allow interrupt (Connection mode 1 : 1)
RI Read Interrupt Status Read interrupt setting status (Connection mode 1 : 1)
RC Read CHR Read data memory as characters
WC Write CHR Write data memory as characters
App6-26 Appendix 6 Universal Serial Communications

Global Port Number (FFH)


Active for connection mode (1 : n).
When the port number is set as [FFH] and a command is executed, all POD units that are connected
send a response in reply to a command from the host.

Commands for which global port number are active are shown below. If commands other than these
are used, a command error will occur.
Signal Name Name Contents
WM Write Write data memory
WC Write CHR Write data memory as characters

Responses to global port numbers are not transmitted to the host. However, responses are written in
write area (n + 8) as shown below.
Memory Contents Contents
0000H Global command not received
0100H ACK
Others Identical to NAK code (See page App6-37.)
Appendix 6 Universal Serial Communications App6-27

Read CHR Command


When memory contents are in the form of characters when data is read, 1 character (1 byte) is
converted into 2-byte ASCII code and transmitted. However, when this command is used, contents
are not converted before transmission, and thus, the transmission time is decreased by approximately
1/2.
• Read CHR command

Read CHR command

A A
S D d C D d C E S
d o d o
T RC L r u L r u T U
e n e n
X E E X M
s t s t
Host side s s
HL

POD side
Transmission S D Memory D Memory E S
data
T L L T U
data data
X E E X M

HL

Transmission
data

- Host side
There should be no more than 5 DLEs.
Address: Top address of the data memory to be read (HEX ASCII)
Count: Number of characters to be read (HEX ASCII)
* When the data to be read is not continuous, “DLE” is inserted as a delimiter
between the breaks.
- POD side
Address and count are omitted and DLE and data are transmitted.

Example: Address: Call up 4 characters that are written at the top of 0020 (0014H).

S D E The “A,” “B,” “C,” and “D” character


T RC L 0 0 1 4 0 0 0 4 T 3 3 codes are sent from the POD as
shown below.
X E X
Host side
02H 52H 43H 10H 30H 30H 31H 34H 30H 30H 30H 34H 03H 33H 33H

POD side
S D E

T L A B C D T 1 F

X E X

02H 10H 41H 42H 43H 44H 03H 31H 46H Send data
App6-28 Appendix 6 Universal Serial Communications

Read Memory Command


Note: Due to the fact that communication speed is increased when you use the read CHR
command to read characters, it is recommended that you use this command.
• Read memory command

Read memory command

A A
S D d C D d C E S
d o d o
T RM L r u L r u T U
e n e n
X E E X M
s t s t
Host side s s
HL

POD side
Transmission data S D Memory D Memory E S

T L L T U
data data
X E E X M

HL

Transmission data

- Host side
There should be no more than 5 DLEs.
Address: Top address of the data memory to be read (HEX ASCII)
Count: Number of characters to be read (HEX ASCII)
* When the data to be read is not continuous, “DLE” is inserted as a delimiter
between the breaks.
- POD side
Address: Top address of the data memory to be read (HEX ASCII)
Count: Amount of data memory to be read (HEX ASCII)
The read sequence is the same as the command sequence (HEX ASCII).

Example: Address: Read the double-word data “75,000” (DEC) contained in the address 0020
(0014H).

S D E Data is sent from the POD as shown


T RM L 0 0 1 4 0 0 0 2 T 3 B below.

X E X 75,000 (DEC) = 0001 24F8 (HEX)


Host side
02H 52H 4DH 10H 30H 30H 31H34H 30H 30H 30H32H 03H 33H42H

POD side
S D E

T L T B A

X E 24H F8H 00H 01H X

02H 10H 32H 34H 46H 38H 30H 30H 30H 31H 03H 42H41H
Appendix 6 Universal Serial Communications App6-29

Write CHR Command


When memory contents are in the form of characters, it is necessary to use a write command to
convert 1 character (1 byte) into 2 byte ASCII code and then transmit. However, with this command
contents are transmitted just as they are, and consequently, the transmission time is decreased by 1/2.
(Character codes from 00 to 1F cannot be used.)
• Write CHR command

Write CHR command

A A
S D d C D d C
d Memory d Memory E S
o o
T WC L r L r
u data u data T U
e n e n
X E s E s X M
t t
Host side s s
WORD WORD WORD WORD HL

POD side
Transmission data A

- Host side
There should be no more than 5 DLEs.
Address: Address of the memory to be written (HEX ASCII)
Count: Number of write characters (HEX ASCII)
Memory data: Data to be written
* When write data is not continuous, “DLE” is inserted as a delimiter between the
breaks.

Example: Send data to display the following characters on the POD.


Address: 0100 (0064H), EF
Address: 0101 (0065H), GH
Address: 0102 (0066H), IJ
Address: 0103 (0067H), KL

S D E

T WC L 0 0 6 4 0 0 0 8 E F G H I J K L T 8 5

X E X

Host side 02H 57H 43H 10H 30H 30H 36H 34H 30H 30H 30H 38H 45H 46H 47H 48H 49H 4AH 4BH 4CH 03H 38H 35H

POD side
A

K
App6-30 Appendix 6 Universal Serial Communications

Write Memory Command


Note: Due to the fact that communication speed is increased when you use the write CHR
command to write characters, it is recommended that you use this command.
• Write memory command

Write memory command

A A
S D d C d C
d Memory D d Memory E S
o o
T WM L r r
u data L u data T U
e n e n
X E s E s X M
t t
Host side s s
WORD WORD WORD WORD HL

POD side
Transmission data A

- Host side
There should be no more than 5 DLEs.
Address: Address of the memory to be written (HEX ASCII)
Count: Data memory contents to be written (HEX ASCII)
* When write data is not continuous, “DLE” is inserted as a delimiter between the
breaks.

Example: Send data to display the following characters on the POD.


Address: 0100 (0064H), EF (= 4645 H)
Address: 0101 (0065H), GH (= 4847 H)
Address: 0102 (0066H), IJ (= 4A49 H)
Address: 0103 (0067H), KL (= 4C4B H)

S D E
T WM L 0 0 6 4 0 0 0 4 F E H G J I L K T C 0

X E 46H 45H 48H 47H 4AH 49H 4CH 4BH X

Host side
02H 57H 46H 10H 30H 30H 36H 34H 30H 30H 30H 34H 34H 36H 34H 35H 34H 38H 34H 37H 34H 41H 34H 39H 34H 43H 34H 42H 03H 43H 30H

POD side
A
C

K
Appendix 6 Universal Serial Communications App6-31

Retry Command
Use this command when a write command/write CHR command is sent and an NAK error code [01] is
returned.
• Retry command

Command A Retry command

S E S * Retry command re-sends


T TR T U the command A which is
waiting.
X X M
Host side
HL

POD side
A
Error
C
code
K

01H

* In the case that error code [01] is returned, Command A response


command A is on standby as the POD is
currently engaged in display processing.
App6-32 Appendix 6 Universal Serial Communications

Interrupt Setting Command


• Interrupt setting command

Interrupt setting command

S D E S
a
T WI T U
t
X a X M
Host side
HL HL

POD side
A

- Host side
Interrupt conditions can be specified when the interrupt data bit is set.
Data: Interrupt status (HEX ASCII)
<Interrupt Conditions>

07 06 05 04 03 02 01 00

Switch ON
0: Interrupt prohibited
1: Interrupt allowed Switch OFF
Keypad write & character entry
Screen internal switching

Switch ON: Interrupt when the switch changes from OFF to ON


(only when [Action] of the switch is [Normal], [Block], [+Block],
[−Block] or [Mode])
Switch OFF: Interrupt when the switch changes from ON to OFF
(only when [Action] of the switch is [Normal], [Block], [+Block],
[−Block] or [Mode])
Keypad write: Interrupt when the [ENTER] switch on the keypad is pressed
Screen internal switching: Interrupt when the screen changes based on an internal switch
* Macro (OUT_ENQ): Interrupt enabled all the time

Example: Interrupt settings are shown below.


Switch ON: Prohibited
Switch OFF: Prohibited
Keypad/character entry write: Allowed
Screen internal switching: Allowed

In this case, the data contents are as shown below.


07 06 05 04 03 02 01 00
WI 0C 18 0 0 0 0 1 1 0 0

Switch ON
Host side 02H 57H 49H 30H 43H 03H 31H 38H Switch OFF
POD side Keypad write & character entry

Screen internal switching


Appendix 6 Universal Serial Communications App6-33

Interrupt Status Read Command


• Interrupt status read command

Interrupt status read command

S E S
T RI T U
X X M
Host side HL

POD side
S D E S
a
T T U
t
X a X M

HL HL

- Host side
Interrupt status is read.
Data: Interrupt status (HEX ASCII)

07 06 05 04 03 02 01 00

Switch ON
0: Interrupt prohibited
1: Interrupt allowed Switch OFF
Keypad write & character entry
Screen internal switching

Example: Interrupt status is read.


Switch ON: Allowed
Switch OFF: Allowed
Keypad/character entry write: Prohibited
Screen internal switching: Prohibited

In this case, the data contents are as shown below.

07 06 05 04 03 02 01 00
RI A0 0 0 0 0 0 0 1 1

Switch ON
Host side
02H 52H 49H 03H 41H 30H Switch OFF
POD side Keypad write & character entry

03 68 Screen internal switching

02H 30H 33H 03H 36H 38H


App6-34 Appendix 6 Universal Serial Communications

Interrupt (ENQ)
When interrupt is used when the connection mode is (1 : 1)*, this code is transmitted.
The transmission occurs when a regular key is pressed or when the [ENTER] key is pressed in the
entry mode. (For information on interrupt timing, refer to page App6-19.)
Interrupt data becomes the contents of write areas n + 2 to n + 7. (Refer to page App6-12.)
* For RS-422 (485) 2-wire connection, interrupts cannot be used.

When a regular key is pressed

00 Screen No. SW0 SW1 ENT0 ENT1 ENT2


POD side

WORD WORD WORD WORD WORD WORD HL

When the [ENTER] switch on the keypad is pressed

When the [ENTER] switch on the keypad is pressed

POD side 01 Screen No. SW0 SW1 ENT0 ENT1 ENT2

WORD WORD WORD WORD WORD WORD HL


ENT0/1/2 is the same as system memory area (n + 5, n + 6, n + 7)

SCREEN2 When a screen internal switching occurs

SCREEN 5

POD side 02 Screen No. SW0 SW1 ENT0 ENT1 ENT2

WORD WORD WORD WORD WORD WORD HL


Appendix 6 Universal Serial Communications App6-35

It is possible to use a macro command to initiate an interrupt.


There are two ways to use a macro command to transmit data. You can either convert the data into
HEX code and transmit it, or you can transmit the data just as it is without converting it.
Use the macro command (OUT_ENQ). For details, refer to “Chapter 13” in the User’s Manual
<Function> (FEH376).

Interrupt with a macro command (OUT_ENQ)

Word transmission

POD side xx 00 Transmission Number of Word data


memory transmission
address words

WORD WORD HL

Word transmission

Interrupt code (10H to 2FH)

Character transmission

POD side xx 01 Transmission Number of Word data


memory transmission
address characters

WORD WORD HL

Character transmission
Interrupt code (10H to 2FH)
App6-36 Appendix 6 Universal Serial Communications

Switch Output (See page App6-12, page App6-19 and page App6-34.)
When [Output Action] of a switch is set to [Momentary] and [Output Memory] is set in location
($s80-95) of system memory, the following actions occur when the switch is pressed.
When the bit memory specified in system memory is set, and the switch is released, it is reset.
The switch number that corresponds to the bit is written in write areas n + 3 and n + 4.
For the relationship between the bit and the switch number, refer to page App6-42.
• POD analog type
Normally, only one switch can be pressed. (Fixed to 1 output)
However, if you go from the menu bar to [System Setting] to [Function Switch Setting] (or if you go
from the menu bar to [Edit] to [Local Function Switch Setting]), and check [Use Function Switch], it
is possible to press two points (2 outputs) at the same time.
For 1 output ([Use Function Switch] is not checked), the switch number and switch information are
written in n + 3. For 2 outputs ([Use Function Switch] is checked), the switch number and switch
information are written in n + 3 and n+ + 4 when two points are pressed.

• POD matrix type


When you go from the menu bar to [Edit] to [Screen Setting], you can select between 1output or 2
outputs. For 1 output, the switch number and switch information are written in n + 3. For 2
outputs, the switch number and switch information are written in n + 3 and n + 4 when 2 switches
are pressed simultaneously.
Appendix 6 Universal Serial Communications App6-37

The switch number is written in the following way in write areas n + 3 and n + 4.
n + 3, n + 4 (SW0/SW1)

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
0 0 0 0 0 0 0

Switch status Switch number


0: OFF
1: ON

When the POD is connected to the host in a 1 : 1 connection, interrupt occurs as is shown below.
* For RS-422 (485) 2-wire connection, interrupts cannot be used.

When a regular key is pressed

00 Screen No. SW0 SW1 ENT0 ENT1 ENT2


POD side

WORD WORD WORD WORD WORD WORD HL

NAK
Error Codes
01H: The POD is currently engaged in display processing.
The received command is on standby due to display processing.
Wait a few moments and re-transmit the command.

02H: Overrun/Framing error


An overrun or framing error is detected in the received data.
Send the command again.

03H: Parity error


A parity error is detected in the received data.
Send the command again.

04H: Sum check error


A sum error occurs with the received data.

05H: Address error


The address specified by the memory read/write command is incorrect.
Check the address or counter and re-transmit the command.

06H: Count error


The memory read/write count is “0.”

07H: Screen error


The data to be written in read area n + 2 (screen status command), as specified by a write
command, is not registered on the screen.
Check the screen number and re-transmit the data.

08H: Format error


The number of DLEs is 0 or greater than 6.
App6-38 Appendix 6 Universal Serial Communications

09H: Received data over


The number of write command data received from the host exceeded that of data shown
below.
• Write memory command = 512 words
• Write CHR command = 1024 bytes

0BH: Retry command error


When a retry command is received, there is no BUSY status (NAK [01]) command.

0FH: ETX error


No ETX code is found.

10H: DLE error


There is no DLE code.

11H: Character error


A character not used in the received data is found. (other than 0 to F)
Check the character and send the command again.

12H: Command error


An invalid command is given.
Appendix 6 Universal Serial Communications App6-39

1-byte Character Code List

Upper

0 1 2 3 4 5 6 7 8 9 A B C D E F

0 SP 0 @ P ’ p

1 ! 1 A Q a q

2 " 2 B R b r

3 # 3 C S c s

4 $ 4 D T d t

5 % 5 E U e u

6 & 6 F V f v
Lower
7 ’ 7 G W g w

8 ( 8 H X h x

9 ) 9 I Y i y

A : J Z j z

B + ; K [ k {

C , < L l |

D = M ] m }

E . > N ^ n ~

F / ? O _ o
App6-40 Appendix 6 Universal Serial Communications

Memory Map

Memory
Inside the POD, there is internal memory necessary for screen display called “user memory ($u),” as
well as memory that the POD uses for the system called “system memory ($s).”

User Memory ($u)


16384 words are available for user memory. This area is usable as desired for screen data. Also the
host computer can write to and read from the area.
The memory map is as shown below.
0000 Address 0000
Address 0001
Address 0002
Address 0003
Address 0004
Address 0005
Address 0006

User memory
(16384 words)

Address 16377
Address 16378
Address 16379
Address 16380
Address 16381
Address 16382
16383 Address 16383
Appendix 6 Universal Serial Communications App6-41

System Memory ($s)


System memory is memory that writes POD action status when the POD is currently displaying
something.
With this written information, it is possible to check overlap status, buffer area, printer, backlight, and
slave station status in multi-drop connection mode.
* System memory cannot be read or written from the host computer.

In the table below, a small part ($s80 to 95) of system memory is extracted. For more information on
other areas of system memory, refer to “Appendix 1” in the User’s Manual <Function> (FEH376).

Address Contents
:
79
80 Universal serial port switch output 0 Output code 0 - 15
81 Universal serial port switch output 1 Output code 16 - 31
82 Universal serial port switch output 2 Output code 32 - 47
83 Universal serial port switch output 3 Output code 48 - 63
84 Universal serial port switch output 4 Output code 64 - 79
85 Universal serial port switch output 5 Output code 80 - 95
86 Universal serial port switch output 6 Output code 96 - 111
87 Universal serial port switch output 7 Output code 112 - 127
88 Universal serial port switch output 8 Output code 128 - 143
89 Universal serial port switch output 9 Output code 144 - 159
90 Universal serial port switch output 10 Output code 160 - 175
91 Universal serial port switch output 11 Output code 176 - 191
92 Universal serial port switch output 12 Output code 192 - 203
93 Universal serial port switch output 13 Output code 208 - 223
94 Universal serial port switch output 14 Output code 224 - 239
95 Universal serial port switch output 15 Output code 240 - 255
96
97
:
App6-42 Appendix 6 Universal Serial Communications

• Address 0080 to 0095


The [Output Memory] of a switch is assigned to bits in this area.
Set [Output Action] to [Momentary].
When a switch is pressed, bit memory is set to “1” and the corresponding switch number is written
in system setting areas n + 3 and n + 4. (Refer to page App6-12.)
The relationship between the bit and the switch number is shown in the following diagram.

For details about the output of a switch, refer to page App6-36.

MSB LSB
Address 0080 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Switch number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

MSB LSB
Address 0081 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Switch number
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

MSB LSB
Address 0090 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Switch number
175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160

MSB LSB
Address 0094 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Switch number 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224

MSB LSB
Address 0095 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Switch number 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240
Appendix 6 Universal Serial Communications App6-43

Switch ON Macro Action


The macro command that controls a repeat function in the switch ON macro, as well as the processing
sequence, is shown in the following diagram.

Switch action flowchart

Switch ON

No
Interlock?

Yes
Not satisfied
Interlock
condition?
Satisfied
External No
Lamp Buzzer

Yes
Lamp ON graphics Buzzer ON

Buzzer ON External
Lamp

Output Internal

Lamp ON graphics

ON macro

Execution

No
Continue Macro command
ON macro? present
Yes

ON macro

Address 64 to 66
End clear

Macro
command
execution

NO NO
Address 64 ≠ 0 Address 65 ≠ 0 Address 66 ≠ 0

YES YES YES

Add repeat function Suspend repeat Repeat macro


to the switch function of the switch command

NO NO
Switch OFF Switch OFF

YES YES

End
App6-44 Appendix 6 Universal Serial Communications

Please use this page freely.


Appendix 7 UG-Link App7-1

Appendix 7 UG-Link

UG-Link

• “UG-Link” is the network where the computer reads from and writes to the internal memory of the
POD, memory card, PLC memory or temperature control/PLC2 memory using a dedicated
protocol.

Dedicated commands

Read

disc

SYSTEM

Write
F1

F2

F3

F4

F5

RESET

F6

F7

POWER

PC POD PLC

• Connection with computer


When connecting to the UG30/20 or a UG230 equipped with UG230A-DCL, use the MJ port. For
connection to the PLC using a temperature controller or the PLC2Way function, use the other MJ
port and use CN1 for communications with the PLC. Data of the PLC or temperature controller
can be collected through communications with the UG30/20. Data collection is available even
between the products of different manufacturers.
When connecting to the UG230, use the MJ1 port for UG-Link communication.
• Either signal level RS-232C or RS-485 can be selected.
With RS-232C, one POD unit can be connected; with RS-485, a maximum of 31 POD units can be
connected.

<RS-485 connection>

disc

RESET

RS-485

MJ2/1 MJ1 MJ1


SYSTEM

F1
Local (UG230) SYSTEM

F1

Local Port F2

F3
Port 2 Local Port F2

F3

F4

1 31
F4

F5
F5

F6
F6

F7

MJ2
F7

POWER
POWER

CN1
RS-232C
CN1 MJ2
RS-422
RS-232C RS-485
RS-422
RS-485

PLC
Temperature controller,
PLC PLC inverter or PLC
App7-2 Appendix 7 UG-Link

Wiring

Cable
Use our cable “UG00C-P” (3 m) for connection with a computer.
The shielded cable of UG00C-P is connected to FG (frame ground) when the UG30/20 is used and to
SG (signal ground) when the UG230 is used.

UG00C-P

* Notes on Use of UG00C-P


There are six wires in the UG00C-P cable as shown on the
Black : 1
right. Green : 2
The wires to be used are determined depending on the Brown : 4
connecting method. For the wires not used, be sure to Red :5
properly insulate with tape, etc. Orange : 7
Yellow : 8

RS-232C (POD: 1 set)

Computer

a UG00C-P RS-232C
MJ2/1
POD
Local port
1
CN1

RS-232C
RS-422
PLC RS-485

Wiring example of above (a)


Modular jack, 8-pin

Signal Computer
Pin No. D-sub 9-pin (female)
Name
Signal
*1 Name Pin No.

SD 8 RD 2
RD 7 SD 3

SG 5 SG 5
*1 UG00C-P is connected to FG DR 6
when the UG30/20 is used and
to SG when the UG230 is used. RS 7

CS 8
Appendix 7 UG-Link App7-3

RS-485 (POD: maximum 31 sets)

RS-232C →
Computer RS-485
conversion

Terminal block

b UG00C-P

MJ2/1
}*
Terminal block

}*
MJ2/1
Terminal block

}*
MJ2/1
} RS-485

POD POD POD


Local Port 1 Local Port 2 Local Port 31

CN1 CN1 CN1

RS-232C
RS-422
PLC PLC PLC RS-485

* 0.5 m recommended (1.0 m maximum)

Wiring example of above (a) and (b)


Terminal Terminal
RS-485 block block
Signal Signal Signal
Name Name Name
FG FG FG

a + + +
− − −
SG SG SG

POD POD
Modular jack, 8-pin Modular jack, 8-pin
Signal Pin No. Signal Pin No.
Name Name

b *1 *1

+ 1 + 1
− 2 − 2
SG 5 SG 5
*1 UG00C-P is connected to FG
when the UG30/20 is used and
to SG when the UG230 is used.
App7-4 Appendix 7 UG-Link

UG00S-CW Setting
The UG00S-CW settings required for UG-Link are explained.

UG-Link Setting
1. Click [System Setting] → [UG-Link Setting].
2. The [UG-Link Setting] dialog is displayed.
3. Check [ Use MJ Port as UG-Link] and make the setting for communications between the POD
and the computer.
[Refer to Modular]
Select the modular jack to be used.
Modular Jack 1/Modular Jack 2
[Baud Rate]
4800 / 9600 / 19200 / 38400 / 57600 / 115200 bps
[Local Port] (1 to 31)
Set the port number of the POD.
[Send Delay Time] (msec)
Set a time delay in sending a response after receipt of data.
[Parity]
None/Odd/Even
[Signal Level]
RS-232C / RS-485
With RS-232C, one POD can be connected; with RS-485, a maximum of 31 PODs can be
connected.
[Data Length]
7-bit/8-bit
[Stop Bit]
1-bit/2-bit
[Use Sum Check]
Check this option when using a sum check.
[Add CR/LF]
Check this option when adding CR/LF.
Appendix 7 UG-Link App7-5

Protocol

Read (with sum check and CR/LF)

Read command

Command
*
S UG Number Read target E S C L
Read
T local of words memory T U
command to read
X No. setting X M R F

1 2 2 2 18 1 2 1 1 Bytes

Response
S UG A Memory Memory E S C L
(Normal communication) T local C data data T U
X No. K 0 n X M R F

1 2 2 4 4 1 2 1 1 Bytes

(When an error occurs)

S UG N E S C L
T local A T U
X No. K X M R F

1 2 2 1 2 1 1 Bytes

* Read target memory setting


UG internal memory PLC memory within 16 bits PLC memory over 16 bits Memory card
Temperature cotrol/ Temperature cotrol/
PLC memory within 16 bits PLC memory over 16 bits
Reserved for system

Expansion code
Expansion code

Reserved for system


Reserved for system

Reserved for system

Reserved for system


(in [n:1] connection)
Station Number
(in [n:1] connection)
Station Number

Record No.
Address

Address
Address
Address

File No.
Model

Model
Model
Model
Type

Type
Type

2 2 4 10 2 2 4 2 2 2 4 2 2 8 2 2 2 2 2 4 4 4 Bytes

e.g. Reads the 2-word data, "ABCD" starting with the address $u0020(0014H) on the POD of the station number 1.

Command S E S C L
T UG Read Number T U
X local command of words Model Type Address Reserved for system X M R F
No. to read

01H 20H 02H 00H 00H 0014H 0000000000H 8FH


02H 30H31H 32H30H 30H32H 30H30H 30H30H 30H30H31H34H 30H30H30H30H30H30H30H30H30H30H 03H 38H46H 0DH 0AH

Response S A Data E S C L
T UG C T U
(Normal communication)
X local K B A D C X M R F
No.
42H 41H 44H 43H
01H 00H 60H
02H 30H31H 30H30H 34H32H 34H31H 34H34H 34H33H 03H 36H30H 0DH 0AH
App7-6 Appendix 7 UG-Link

Write (with sum check and CR/LF)

Write command

Command
*
S UG Number Write target Memory Memory E S C L
Write
T local of words memory data data T U
command to write
X No. setting X M R F
0 n

1 2 2 2 18 4 4 1 2 1 1 Bytes

Response

(Normal communication) S UG A E S C L
T local C T U
X No. K X M R F

1 2 2 1 2 1 1 Bytes

(When an error occurs)


S UG N E S C L
T local A T U
X No. K X M R F

1 2 2 1 2 1 1 Bytes

* Write target memory setting

POD internal memory PLC memory within 16 bits PLC memory over 16 bits Memory card
Temperature cotrol/ Temperature cotrol/
PLC memory within 16 bits PLC memory over 16 bits
Reserved for system

Expansion code
Expansion code

Reserved for system


Reserved for system

Reserved for system

Reserved for system


(in [n:1] connection)
Station Number
(in [n:1] connection)
Station Number

Record No.
Address

Address
Address
Address

File No.
Model

Model
Model
Model
Type

Type
Type

2 2 4 10 2 2 4 2 2 2 4 2 2 8 2 2 2 2 2 4 4 6 Bytes

e.g. Writes "AB12" to the addresses D0100 to 101(0064 to 0065H) on the PLC connected to the POD of the station number 1.

Command S E S C L
Number
Data
T UG Write T U
of words
X local command to write Model Type Address Reserved for system
B A 2 1 X M R F
No.
42H 41H 32H 31H
01H 21H 02H 01H 00H 0064H 0000000000H 2AH
02H 30H31H 32H31H 30H32H 30H31H 30H30H 30H30H36H34H 30H30H30H30H30H30H30H30H30H30H 34H32H 34H31H 33H32H 33H31H 03H 32H41H 0DH 0AH

Response S A E S C L
(Normal communication) T UG C T U
X local K X M R F
No.

01H 00H C6H


02H 30H31H 30H30H 03H 43H36H 0DH 0AH
Appendix 7 UG-Link App7-7

Data Items for Protocols


• Transmission control code: 1 byte

Signal Name Code (Hexadecimal) Contents


STX 02H Start of transmission block
ETX 03H End of transmission block
CR 0DH Carriage return
LF 0AH Line feed

• UG port number: 2 bytes


Port numbers are used so that the host computer can identify each POD for access.
The data range is from 01H to 1FH (1 to 31) and is converted into the ASCII code before use.
The port number of the POD should be set on the UG00S-CW editor. (Refer to “UG00S-CW
Setting.”)
• Command: 2 bytes
Available commands are shown below.

Name Code (Hexadecimal) ASCII Contents


Read 20H 32 30 Read from memory
Write 21H 32 31 Write to memory

• The number of words to be read or written: 2 bytes


Set the number of words to be read or written by one command.
The data range is from 01H to FFH (1 to 255) and is converted into the ASCII code before use.
• Memory address to be read or written: 18 bytes
Specify the memory address to be accessed.
Set the following code in the format as shown for “Read target memory setting” on page App7-5
and “Write target memory setting” on page App7-6.
- Model

Code
ASCII
(Hexadecimal)
POD series internal memory 00H 3030
0 to 65535 01H 3031
PLC memory
65536 and above 81H 3831
Memory card 02H 3032
0 to 65535 03H 3033
Temperature control/PLC2 memory
65536 and above 83H 3833

- Type

Code
Type ASCII
(Hexadecimal)
$u (user memory) 00H 3030
$s (system memory) 01H 3031
POD internal
$L (non-volatile word memory) 02H 3032
memory
$LD (non-volatile double-word memory) 03H 3033
$T (temporary user memory) 04H 3034
Depends on the PLC to be used. Set the type number indicated for “Available
PLC memory
Memory” of respective PLCs on “Chapter 2” to “Chapter 34.”
Depends on the PLC to be connected to the temperature controller and PLC2
function. Set the type number indicated for “Available Memory” of respective
Temperature control/
temperature controllers on the Temperature Control Network Manual. Set the
PLC2 memory
type number indicated for “Available Memory” of respective PLCs on “Chapter 2”
to “Chapter 34” when using the PLC2Way function.

- Address
Specify the memory address to be accessed.
App7-8 Appendix 7 UG-Link

- Expansion code
Set the slot number of the CPU memory of the MITSUBISHI PLC or the CPU number of the
Fuji PLC:MICREX-SX and Yokogawa PLC.
Example:
MITSUBISHI Slot No. 0: 00H
MITSUBISHI Slot No. 1: 01H
Fuji CPU No. 0: 00H
Fuji CPU No. 1: 01H
Yokogawa CPU No. 1: 00H
Yokogawa CPU No. 2: 01H
* If no expansion code or port number is required, enter “00” (= 3030 in the ASCII code).
- Port number
1 : 1, Multi-link ....................................................Not used
Multi-drop............................................................PLC port number
Temperature controller........................................Temperature controller port number
- File No.
Specify the file number set in the [Memory Card Setting] dialog of the UG00S-CW editor.
- Record No.
Specify the record number set in the [Memory Card Setting] dialog of the UG00S-CW editor.
- System reserved
Enter “0” (= 30 in the ASCII code) for the number of bytes.
The number of bytes for “system reserved” varies depending on the model.
Example:

Model Bytes Code (Hexadecimal) ASCII


POD internal memory 10 0000000000H 30303030303030303030

Sum Check Code (SUM): 2 bytes


Data is added up (SUM), and the lower one byte (8 bits) of the sum is converted into the 2-digit ASCII
code (hexadecimal).
A sum check code is shown below.

Example: Transmission mode: without CR/LF, with sum check


Command: 20 (data read)
Address: 10 words from $u1000 (03E8H)
When reading, a sum check will be performed as shown below.

STX POD port number Command Read words Memory model Memory type Address System reserved ETX SUM
01H 20H 0AH 00H 00H 03E8H 0 0 0 0 0 0 0 0 0 0H B9H
02H 30H31H 32H30H 30H41H 30H30H 30H30H 30H 33H 45H 38H 30H 30H 30H 30H 30H 30H 30H 30H 30H 30H 03H 42H39H

02H + 30H + 31H + 32H + 30H + 30H + 41H + 30H + 30H + 30H + 30H + 30H + 33H + 45H + 38H

+ 30H + 30H + 30H + 30H + 30H + 30H + 30H + 30H + 30H + 30H + 03H = 4B9H

Response Code: 2 bytes


[ACK]
This code is received at normal termination.
00H (3030: ASCII)
[NAK]
This code is received at abnormal termination. (ASCII)
For more information, refer to page App7-9.
Appendix 7 UG-Link App7-9

NAK: Error Codes


02H: Overrun/Framing error
An overrun or framing error is detected in the received data.
Send the command again.

03H: Parity error


A parity error is detected in the received data.
Send the command again.

04H: Sum check error


A sum error occurs with the received data.

06H: Count error


The memory read/write count is “0.”

0FH: ETX error


No ETX code is found.

11H: Character error


A character not used in the received data is found. (other than 0 to F)
Check the character and send the command again.

12H: Command error


An invalid command is given.

13H: Memory setting error


The address or device number is invalid.
App7-10 Appendix 7 UG-Link

1-byte Character Code List

Upper

0 1 2 3 4 5 6 7 8 9 A B C D E F

0 SP 0 @ P ’ p

1 ! 1 A Q a q

2 " 2 B R b r

3 # 3 C S c s

4 $ 4 D T d t

5 % 5 E U e u

6 & 6 F V f v
Lower
7 ’ 7 G W g w

8 ( 8 H X h x

9 ) 9 I Y i y

A : J Z j z

B + ; K [ k {

C , < L l |

D = M ] m }

E . > N ^ n ~

F / ? O _ o
Appendix 8 Ladder Transfer Function App8-1

Appendix 8 Ladder Transfer Function

Up until now it has been necessary to debug the data by repeatedly disconnecting and reconnecting
the two computer-PLC and POD-PLC cables when the POD is directly connected to a PLC equipped
with only one CPU port. With the ladder transfer function, however, it is possible to write ladder
programs or monitor the PLC memory using the POD without disconnecting and reconnecting the
cables.

Applicable PLCs
The following PLC models support the ladder transfer function.
Ladder Communication
Manufacturer Select PLC Type CPU (PLC Programming Software)
Program
MICREX-SX SPH/SPB CPU NP1Px-xx
D300win MicrexSx.lcm
(IEC mode) NW0Pxx
MICREX-SX SPH/SPB CPU
Fuji Electric FA NP1Px-xx SX - Programmer Standard
(N mode, F mode)
FlexCpu.lcm
SPB (N mode) and FLEX-PC NW0Pxx SX - Programmer Standard
CPU FLEX-PC FLEX-PC Programmer
QnH (Q) series CPU Q02 (H), 06H MelQHCpQ.lcm
QnH (Q) series link Q00, Q01 MelQnA.lcm
MITSUBISHI
FX series CPU FX1/2, FX0N
ELECTRIC
FX2N series CPU FX2N/1N, FX2NC MelFx.lcm
FX1S series CPU FX1S
SYSMAC C
OMRON Refer to page 19-1. Sysmac.lcm
SYSMAC CS1 / CJ1
Yokogawa FA-M3
Refer to page 34-1. Yokogawa.lcm
Electric FA-M3 R

* 1 : n communication (multi-drop), multi-link communication, and multi-link 2 communication cannot


be executed.

Connection

• Use our "UG00C-T" cable when connecting the computer and the POD (MJ1/2).
• When connecting the POD (CN1) to the PLC, use a 1 : 1 communication cable as previously
described.

When the computer is equipped with one COM port:

1 : 1 communication cable
UG00C-T
disc COM1 MJ1 SYSTEM

F1
CN1 CPU port MELSEC

GPPW F2

POD
F3

(UG00S-CW) F4

F5

RESET
F6

F7

POWER

Computer (PC) PLC

Communications between the PLC programming software and the PLC

Communications between the editor and POD


Communications between POD and the PLC
App8-2 Appendix 8 Ladder Transfer Function

It is not possible to transfer both editor screen data and PLC programming software at the same time.
Stop either transfer.
Screen data transfer from the editor is carried out via MJ1. The use of MJ1 is recommended if
executing both the ladder transfer function and screen data transfer is necessary. In this case, screen
data transfer via the UG00C-T cable is possible through the Main Menu screen displayed on the POD.
For more information, refer to page App8-3.

When the computer is equipped with two COM ports and two UG00C-T cables are
used:

1 : 1 communication cable
UG00C-T
disc
COM1 MJ1 SYSTEM

F1
CN1 CPU port MELSEC

GPPW F2

POD
F3

(UG00S-CW) F4

F5
RESET

F6

F7

POWER

COM2 MJ2
Computer (PC) UG00C-T PLC

Communications between the PLC programming software and the PLC

Communications between the editor and POD


Communications between POD and the PLC

Different COM ports and UG00C-T cables are used respectively for transferring the editor data and the
PLC programming software. However, it is not possible to transfer both at the same time.
Appendix 8 Ladder Transfer Function App8-3

Setting
1. PLC type setting
Select [PLC Type] from the [System Setting] menu. Select a type adapted to the ladder transfer
function (page App8-1) in the [Select PLC Type] dialog.
2. Modular jack setting
Select [Modular Jack] from the [System Setting]
menu.
Select [Ladder Tool] for [Modular Jack 1] or [Modular
Jack 2] in the [Modular Jack] dialog.

3. Environment setting
From the [System Setting] menu, select [Unit
Setting] and open the [Environment Setting] tab
window.
The [Ladder communication is not used in Local
mode.] option is relevant to the operation that will
take place while the Main Menu screen is displayed.
- Unchecked: Transferring the editor data or the
PLC programming software is possible.
Choose either transfer using the F2 switch.
- Checked: Transferring only the editor data is possible. Transferring the PLC programming
software is disabled.

Different POD operations depending on item settings (“2” and “3” in the previous
section)
Depending on which items are selected in the [Modular Jack] dialog and the [Environment Setting] tab
window, operations possible on the POD (communication with the computer enabled/disabled) are
determined.
UG00S-CW Setting POD Status
Environment
Modular Jack RUN Main Menu Screen
Setting
Transferring Transferring
Ladder Ladder
MJ1 MJ2 Check screen data screen data
transfer transfer
MJ1 *1 MJ1 *1
Unchecked
Editor port
Checked
Ladder tool
Other than editor port Unchecked
and ladder tool Checked

Other than Unchecked *2 *2


Ladder tool
ladder tool Checked

*1 Screen data transfer via LAN/USB is possible, irrespective of setting differences.


*2 Switching on the Main Menu screen
App8-4 Appendix 8 Ladder Transfer Function

Press the SYSTEM and F1 switches. The Main Menu screen is displayed.

S S
Y
S
Y
S Main Menu UG430H-TH1 2002-4 -1 07:23:30
T T
E E
M M
System Information FONT I/F DRV VER.1.240
M M
O O SYSTEM PROG. VER. 1.000 VER.1.300 / 1.000 / 1.000 MELSEC QnH Q
D D
E E ENGLISH CPU Port

BR BR
Screen Data PLC Type : MITSUBISHIQnH(Q) series CPU Error : Stop
Information Comment : Time-Out : 1.00 sec
BR BR
Size : 5783552 Retry : 3

Connection : 1:1 Baud Rate :19200


BR BR Signal Level : RS232C Data Length : 8
PLC Stat. No. : 0 Stop Bit : 1
Parity : Odd
B B
A A Send Delay : 0msec
C C
K K
L L SRAM/Clock Extension
T T
Ethernet Information Ethernet
Trans.Speed: 10BASE-T
Stat. No. : 192.168.1.68
Editor:--- PORT: 10000 Card
MAC: 0050FF000035 I/O Test
Menu

“Editor:---” appears, indicating the ladder transfer mode, in the lower left corner of the screen.
At this time, screen data transfer via MJ1 is not possible as shown below.

Transferring Screen Data


Display Ladder Transfer
MJ1
Editor: ---
Editor: MJ1

Use the F2 switch to switch between “Editor:---” and “Editor:MJ1” displayed on the screen.
Hold down the switch for 3 seconds or more.

Main Menu UG430H-TH1 2002-4 -1 07:23:30 Main Menu UG430H-TH1 2002-4 -1 07:23:30

System Information FONT I/F DRV VER.1.240


System Information FONT I/F DRV VER.1.240
SYSTEM PROG. VER. 1.000 VER.1.300 / 1.000 / 1.000 MELSEC QnH Q SYSTEM PROG. VER. 1.000 VER.1.300 / 1.000 / 1.000 MELSEC QnH Q
ENGLISH CPU Port ENGLISH CPU Port

Screen Data PLC Type : MITSUBISHIQnH(Q) series CPU Error : Stop Screen Data PLC Type : MITSUBISHIQnH(Q) series CPU Error : Stop
Information Comment : Time-Out : 1.00 sec Information Comment : Time-Out : 1.00 sec
Size : 5783552 Retry : 3 Size : 5783552 Retry : 3

Connection : 1:1 Baud Rate :19200 Connection : 1:1 Baud Rate :19200
Signal Level : RS232C Data Length : 8 Signal Level : RS232C Data Length : 8
PLC Stat. No. : 0 Stop Bit : 1 PLC Stat. No. : 0 Stop Bit : 1
Parity : Odd Parity : Odd
Send Delay : 0msec Send Delay : 0msec

SRAM/Clock Extension SRAM/Clock Extension


Ethernet Information Ethernet Information Ethernet
Ethernet
Trans.Speed: 10BASE-T Trans.Speed: 10BASE-T
Stat. No. : 192.168.1.68 Stat. No. : 192.168.1.68
Editor:--- PORT: 10000 Card Editor:MJ1 PORT: 10000 Card
MAC: 0050FF000035 I/O Test MAC: 0050FF000035 I/O Test
Menu Menu

Hold down for Hold down for


3 seconds. 3 seconds.
Appendix 8 Ladder Transfer Function App8-5

Notes on Ladder Transfer Function

• On-line editing between the editor and the POD is not possible. If attempted, communications
between the PLC programming software and the PLC will not be performed correctly.
• Communicating statuses with the PLC programming software and the PLC during communications
between the editor and the POD

Editor PLC Programming Software


Communications disconnected (normal
Writing to POD
communications on completion of writing)
Reading from POD Normal communications
Comparing with POD Normal communications

• Baud rate setting


The [Baud Rate] setting in the [Comm. Parameter] dialog applies to the baud rate between the
POD and the PLC. However, if communication with the PLC programming software (monitoring,
etc.) starts by means of the ladder transfer function, the baud rate set on the software takes effect.
The baud rate stays enabled until the POD is turned off and on again.
Keeping this in mind, set the PLC programming software baud rate and the [Baud Rate] in the
[Comm. Parameter] dialog to the same value.
• With [Ladder Tool] checked in the [Modular Jack] dialog, it is prohibited to register the devices to
be monitored for POD-PLC communication even though the PLC programming software is not
started. The screen display speed will decrease somewhat accordingly.
• Also, when the ladder program is transferred in the RUN mode of the POD, communications are
synchronized; therefore, the performance of both the POD and the PLC programming software
decreases.

Ladder Communication Program


If using the ladder communication function, the POD requires the ladder communication program.
Normally when screen data is transferred, the program is also transferred. To transfer the ladder
communication program only, follow the procedure described below.
1. Select [Ladder comm. prg.] in the [Transfer] dialog, and click [PC->].
2. The dialog box below is displayed. Select the ladder communication program that corresponds to
the PLC model (refer to page App8-1) and click the [Open] button. Program transfer to the POD
starts.
App8-6 Appendix 8 Ladder Transfer Function

Please use this page freely.


List-1

Connection Compatibility List

UG530/UG430/UG330/UG230+UG230A-DCL
March, 2005

1:n n:1 Field Controller


Manufacturer PLC 1:1 Multi-link 2 Ethernet PLC2Way
(Multi-drop) (Multi-link) Network Network
PLC-5
SLC500
Allen-Bradley
Micro Logix 1000
Control Logix/Compact Logix
Direct LOGIC
Automationdirect
Direct LOGIC (K-Sequence)
Baldor Mint
DELTA DVP series
FANUC Power Mate
FATEK AUTOMATION FACON FB series
MICREX-F series T-LINK
SPB (N mode) & FLEX-PC series OPCN-1 *2
SPB (N mode) & FLEX-PC CPU
FLEX-PC COM (T)
Fuji Electric FA
FLEX-PC (T)
FLEX-PC CPU (T)
T-LINK
MICREX-SX SPH/SPB series SX-BUS *2.6
OPCN-1
MICREX-SX SPH/SPB CPU
90 series
GE Fanuc
90 series (SNP-X)
HIDIC-H
HIDIC-S10/2α OPCN-1
Hitachi HIDIC-S10/4α
HIDIC-S10/ABS
HIDIC-S10V
MICRO3
IDEC
MICRO Smart
KZ series link
KZ-A500 CPU
KZ/KV series CPU
KEYENCE KZ24/300CPU
KV10/24CPU
KV-700
KV-1000
SU/SG
SR-T
KOYO ELECTRONICS
SR-T (K Prt)
SU/SG (K-Sequence)
MASTER-K10/60/200
MASTER-K500/1000
MASTER-KxxxS
LG
MASTER-KxxxS CNET
GLOFA CNET
GLOFA GM series CPU
Matsushita Electric
MEWNET
Works
List-2

1:n n:1 Field Controller


Manufacturer PLC 1:1 Multi-link 2 Ethernet PLC2Way
(Multi-drop) (Multi-link) Network Network
CC-Link
A series link
OPCN-1
A series CPU
QnA series link CC-Link *2

QnA series CPU with


UG00P-DI
QnH (Q) series link CC-Link *2
QnH (A) series CPU
MITSUBISHI ELECTRIC
QnH (Q) series CPU
Q00J/00/01CPU CC-Link
FX series CPU
FX2N series CPU
FX1S series CPU
FX series link (A Prt) *3
FX-3UC series CPU
A link + Net10 *1
MODICON Modbus RTU
MOELLER PS4
SYSMAC C OPCN-1 *2
SYSMAC CV *2
OMRON
SYSMAC CS1/CJ1 *2
SYSMAC CS1/CJ1 DNA *1
SAIA PCD
SPC series
SAMSUNG N_plus
SECNET
JW series FL-Net
JW100/70H COM port
SHARP
JW20 COM port
JW300 series
SHINKO ELECTRIC SELMART
S5
S5 PG port
PROFIBUS
S7
-DP
S7-200 PPI
Siemens S7-300/400MPI *4 *5
S7-300MPI (HMI ADP)
S7-300MPI (PC ADP)
S7-300MPI (Helmholz SSW7 ADP)
TI500/505
TAIAN TP02
Telemecanique TSX Micro
T series
TOSHIBA
EX series
TOSHIBA MACHINE TC200
Toyoda Machine Works TOYOPUC
µGPCSX series OPCN-1 SX-BUS
TOYO DENKI
µGPCSX CPU
VIGOR M series
Yamatake MX series
MEMOBUS
Yaskawa Electric
CP9200SH/MP900
FA500
Yokogawa Electric FA-M3
FA-M3R FL-Net
List-3

• 1 : 1..............................One set of the UG30 Series is connected to one PLC (1:1 connection).
• 1 : n..............................One UG30 Series is connected to multiple PLCs.
• Multi-link2 ....................One PLC is connected to a maximum of four UG30 Series.
• n : 1 (Multi-link) ............One PLC is connected to multiple UG30 Series.
• To use Ethernet communications with the UG30 (standard type), a communication interface unit is necessary.
• To use field network or controller network, a communication interface unit is necessary.
• To perform communications with the PLC at the MJ port using PLC2Way function, use the RS-232C or RS-485 (2-wire system) for connection.

*1 When the UG30 Series is connected to the PLC on a controller network, it is possible to perform communications with other PLCs on the same
network.
*2 RS-232C connection only
*3 No connection available with FX N-422-BD
*4 A maximum of four PLCs can be connected.
*5 A maximum of three UG30 Series can be connected.
*6 Connection is available only with IEC mode.
List-4

UG230
March, 2005

1:n n:1 Field Controller


Manufacturer PLC 1:1 Multi-link 2 Ethernet PLC2Way
(Multi-drop) (Multi-link) Network Network
PLC-5
SLC500
Allen-Bradley
Micro Logix 1000
Control Logix/Compact Logix
Direct LOGIC
Automationdirect
Direct LOGIC (K-Sequence)
Baldor Mint
DELTA DVP series
FANUC Power Mate
FATEK AUTOMATION FACON FB series
MICREX-F series T-LINK
SPB (N mode) & FLEX-PC series *2
SPB (N mode) & FLEX-PC CPU
FLEX-PC COM (T)
Fuji Electric FA
FLEX-PC (T)
FLEX-PC CPU (T)
MICREX-SX SPH/SPB series T-LINK *2.8
MICREX-SX SPH/SPB CPU
90 series
GE Fanuc
90 series (SNP-X)
HIDIC-H *7
HIDIC-S10/2α
Hitachi HIDIC-S10/4α
HIDIC-S10/ABS
HIDIC-S10V
MICRO3
IDEC
MICRO Smart
KZ series link
KZ-A500 CPU
KZ/KV series CPU
KEYENCE KZ24/300CPU
KV10/24CPU
KV-700
KV-1000
SU/SG
SR-T
KOYO ELECTRONICS
SR-T (K Prt)
SU/SG (K-Sequence)
MASTER-K10/60/200
MASTER-K500/1000
MASTER-KxxxS
LG
MASTER-KxxxS CNET
GLOFA CNET
GLOFA GM series CPU
Matsushita Electric
MEWNET
Works
List-5

1:n n:1 Field Controller


Manufacturer PLC 1:1 Multi-link 2 Ethernet PLC2Way
(Multi-drop) (Multi-link) Network Network
A series link
A series CPU
QnA series link *2

QnA series CPU with


UG00P-DI
QnH (Q) series link *2
QnH (A) series CPU
MITSUBISHI ELECTRIC QnH (Q) series CPU

Q00J/00/01CPU
FX series CPU *6
FX2N series CPU
FX1S series CPU
FX series link (A Prt) *3
FX-3UC series CPU
A link + Net10 *1
MODICON Modbus RTU
MOELLER PS4
SYSMAC C *2
SYSMAC CV *2
OMRON
SYSMAC CS1/CJ1 *2
SYSMAC CS1/CJ1 DNA *1
SAIA PCD
SPC series
SAMSUNG N_plus
SECNET
JW series
JW100/70H COM port
SHARP
JW20 COM port
JW300 series
SHINKO ELECTRIC SELMART
S5
S5 PG port
S7
S7-200 PPI
Siemens S7-300/400MPI *4 *5
S7-300MPI (HMI ADP)
S7-300MPI (PC ADP)
S7-300MPI (Helmholz SSW7 ADP)
TI500/505
TAIAN TP02
Telemecanique TSX Micro
T series
TOSHIBA
EX series
TOSHIBA MACHINE TC200
Toyoda Machine Works TOYOPUC
µGPCSX series
TOYO DENKI
µGPCSX CPU
VIGOR M series
Yamatake MX series
MEMOBUS
Yaskawa Electric
CP9200SH/MP900
FA500
Yokogawa Electric FA-M3
FA-M3R
List-6

• 1 : 1 ............................. One set of the UG230 series (MJ2) is connected to one PLC (1:1 connection).
• 1 : n ............................. One UG230 Series is connected to multiple PLCs.
• Multi-link2.................... One PLC is connected to a maximum of four UG230 Series.
• n : 1 (Multi-link) ........... One PLC is connected to multiple UG230 Series.
• To perform communications with the PLC at the MJ port using PLC2Way function, use the RS-232C or RS-485 (2-wire system) for connection.

*1 When the UG230 Series is connected to the PLC on a controller network, it is possible to perform communications with other PLCs on the
same network.
*2 RS-232C connection only
*3 No connection available with FX N-422-BD
*4 A maximum of four PLCs can be connected.
*5 A maximum of three UG230 units can be connected.
*6 Connection available only with FX0N
*7 RS-422 connection only for COMM-2H
*8 Connection is available only with IEC mode.
Gate City Ohsaki, East Tower,
11-2, Osaki 1-chome, Shinagawa-ku, Tokyo 141-0032, Japan
Phone: +81-3-5435-7135 ~ 8
Fax: +81-3-5435-7456 ~ 9
URL: http : // www.fujielectric.co.jp / fcs / eng

2005-3(PDF)
Information in this manual is subject to change without notice.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy