Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 43 of 48

SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual: Appendices, pages 373 to 382

Pages 373 to 382 of 422, from SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual

The original document is the PDF (14 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Omron C200H-OD21A, Omron CQM1-ID211, Omron CQM1-ID213, Omron CQM1-OD211 and Omron CQM1-OD213

Page 373

Appendices

A-4

Connecting to a Serial Port on the CPU Unit This appendix provides information on configurations and wiring methods when connecting various functionality to a serial port on a CPU Unit.

A-4-1

Serial Port Interface Types and Specifications

With the following configurations, the serial port on a CJ2 CPU Unit can be used with an RS-232C or RS-422A/485 interface. In this appendix, serial ports on CPU Units with these interfaces are called RS232C ports and RS-422A/485 ports. Interface CJ2H-CPU6@(-EIP) CJ2M-CPU1@

Not isolated

Isolated

Built into the CPU Unit as a standard feature.

A CJ1W-CIF11 RS-422A Converter is mounted directly to the built-in RS-232C interface.

The built-in RS-232C interface and an NT-AL001 RS232C/RS-422A Link Adapter are connected with a cable.

A CP1W-CIF01 RS-232C Option Board is mounted.

A CP1W-CIF11 RS422A/485 Option Board is mounted.

A CP1W-CIF12 RS422A/485 Option Board is mounted.

RS-232C Interface Specifications z CPU Unit Built-in RS-232C Interface Specifications • Connector Pin Arrangement Pin No.

Signal

Name

Direction

FG

Protection earth

---

2

SD (TXD)

Send data

Output

3

RD (RXD)

Receive data

Input

4

RS (RTS)

Request to send

Output

5

CS (CTS)

Clear to send

Input

6

5V

Power supply

---

7

DR (DSR)

Data set ready

Input

8

ER (DTR)

Data terminal ready

Output

9

SG (0 V)

Signal ground

---

Connector hood

FG

Protection earth

---

1

6

9 5

CJ2 CPU Unit Hardware User’s Manual

A-111

App

1

A-4 Connecting to a Serial Port on the CPU Unit

CJ2M-CPU3@

RS-422A/485

RS-232C

Model

Page 374

Appendices z CP1W-CIF01 RS-232C Option Board Specifications Front

Back

1. Communications status indicators 3. CPU Unit connector COMM

2. RS-232C connector

• Connector Pin Arrangement 5

1

9

6

Pin No. 1 2 3 4 5 6 7 8 9 Connector hood

Signal FG SD (TXD) RD (RXD) RS (RTS) CS (CTS) 5V DR (DSR) ER (DTR) SG (0 V) FG

Name Protection earth Send data Receive data Request to send Clear to send Power supply Data set ready Data terminal ready Signal ground Protection earth

Direction --Output Input Output Input --Input Output -----

Precautions for Safe Use Do not use the 5-V power from pin 6 of the RS-232C port on the CPU Unit for anything but the NT-AL001 Link Adapter, CJ1W-CIF11 RS-422A Converter, or NV3W-M@20L Programmable Terminal. The external device or the CPU Unit may be damaged.

z Communications Specifications Item

Specification

Communications method

Half duplex

Synchronization

Start-stop

Baud rate

0.3/0.6/1.2/2.4/4.8/9.6/19.2/38.4/57.6/115.2 kbps*1

Transmission distance

15 m max.

Interface

EIA RS-232C

Protocol

Host Link, NT Link, 1:N, No-protocol, or Peripheral Bus

*1 Baud rates for the RS-232C are specified only up to 19.2 kbps. The CJ Series supports serial communications from 38.4 kbps to 115.2 kbps, but some computers cannot support these speeds. Lower the baud rate if necessary.

A-112

CJ2 CPU Unit Hardware User’s Manual

Page 375

Appendices

RS-422A/485 Interface Specifications z CP1W-CIF11 and CP1W-CIF12 RS-422A/485 Option Board Specifications Front

Back

1. Communications status indicators 3. CPU Unit connector COMM

4. DIP switch for operation settings

RDA- RDB+ SDA- SDB+ FG

2. RS-422A/485 connector

• RS-422A/485 Terminal Block Tighten the terminal block screws to the torque of 0.28 N·m. RDA−

FG A-4 Connecting to a Serial Port on the CPU Unit

RDB+ SDA− SDB+

• DIP Switch for Operation Settings

1 2 3 4 5 6

O N

Pin No. 1

Setting ON OFF ON OFF ON OFF --ON OFF

App

ON (both ends) Terminating resistance setting OFF 2 2-wire 2-wire or 4-wire setting*1 4-wire 3 2-wire 2-wire or 4-wire setting*1 4-wire 4 --Not used. 5 RS control enabled RS control selection for RD*2 RS control disabled (Data always received.) 6 ON RS control enabled RS control selection for SD*3 OFF RS control disabled (Data always sent.) *1 Set both pins 2 and 3 to either ON (2-wire) or OFF (4-wire). *2 To disable the echo-back function, set pin 5 to ON (RS control enabled). *3 When connecting to a device on the N side in a 1: N connection with the 4-wire method, set pin 6 to ON (RS control enabled). Also, when connecting by the 2-wire method, set pin 6 to ON (RS control enabled).

z Converting Built-in RS-232C to RS-422A/485 When converting the RS-232C port on a CJ2 CPU Unit to RS-422A, using one of the following Link Adapters and Conversion Units. • CJ1W-CIF11 RS-422A Converter The maximum distance is 50 m. Either RS-422A or RS-485 can be used. • NT-AL001 RS-232C/RS-422A Link Adapter The maximum distance is 500 m. Only RS-422A can be used.

CJ2 CPU Unit Hardware User’s Manual

A-113

Page 376

Appendices

CJ1W-CIF11 RS-422A Converter The CJ1W-CIF11 RS-422A Converter is used to convert RS-232C to RS-422A/485. It is connected directly to the RS-232C port on a CJ2 CPU Unit. It is not isolated, so the maximum distance for RS-422A/485 is 50 m. Appearance

Electric Specifications • RS-422A/485 Terminal Block

RDA−

RDA−

RDB+

SDA−

SDB+

FG

RDB+ SDA− SDB+ FG

Signal name RDA− RDB+ SDA− SDB+ FG

• RS-232C Connector RS-232C port

+5V 6 −7 −8 SG (0 V) 9

Connector pin arrangement 1 FG 2 RD 3 SD 4 CS 5 RS

Pin No. 1 2 3 4 5 6 7, 8 9 Hood

Signal name FG RD SD CS RS +5 V NC SG (0 V) NC*

* The hood will have the same electric potential as the connector hood where it is connected.

DIP Switch Settings Pin No. 1

Setting Terminating resistance setting

2

2-wire/4-wire setting*1

3

2-wire/4-wire setting*1 Not used.

4 5 6

ON Connects terminating resistance on both ends of the transmission path. 2-wire

OFF Disconnects terminating resistance. 4-wire

2-wire

4-wire

*2

RS control selection for RD

--RS control enabled

RS control selection for SD*3

RS control enabled

--RS control disabled (Data always received.) RS control disabled (Data always sent.)

*1 Set both pins 2 and 3 to either ON (2-wire) or OFF (4-wire). *2 To disable the echo-back function, set pin 5 to ON (RS control enabled). *3 When connecting to a device on the N side in a 1: N connection with the 4-wire method, set pin 6 to ON (RS control enabled). Also, when connecting by the 2-wire method, set pin 6 to ON (RS control enabled).

A-114

CJ2 CPU Unit Hardware User’s Manual

Page 377

Appendices

Dimensions (Unit: mm) 38.8

18.2

34.0

5.8

NT-AL001 RS-232C/RS-422A Link Adapter The NT-AL001 RS-232C/RS-422A Link Adapter is used to connect to devices that have RS-232C or RS-422A terminals. It is connected with a cable to the RS-232C port on a CJ2 CPU Unit. It is isolated, so the maximum distance for RS-422A is 500 m. Appearance

There is a DIP switch on the NT-AL001 RS-232C/RS-422A Link Adapter that is used to set RS422A/485 communications parameters. Set the DIP switch as required for the serial communications mode according to the following table. Pin

Not used. (Leave set to ON.) Internal terminating resistance setting.

Default setting ON ON

ON: Terminating resistance connected.

5 6

OFF: Terminating resistance not connected. 2-wire/4-wire setting Both pins ON: 2-wire communications Both pins OFF: 4-wire communications Communications mode* Both pins OFF: Always send.

OFF OFF

A-4-1 Serial Port Interface Types and Specifications

3 4

ON OFF

5 OFF/6 ON: Send when RS-232C's CS is high. 5 ON/6 OFF: Send when RS-232C's CS is low. * When connecting to a CJ-series CPU Unit, turn OFF pin 5 and turn ON pin 6.

CJ2 CPU Unit Hardware User’s Manual

App

1 2

Function

A-4 Connecting to a Serial Port on the CPU Unit

DIP Switch Settings

A-115

Page 378

Appendices

Application Example CJ2M CPU Unit Built-in RS-232C port or RS-232C Option Board

Pin Signal No. name

NT-AL001 RS-232C/RS-422A Link Adapter RS-232C

Pin Signal No. name RD 3 SD 2 RS 4 CS 5 +5V 6 DR 7 ER 8 SG 9 Shell FG

2 SD 3 RD 4 RS 5 CS 6 +5V 7 DR 8 ER 9 SG Shell FG

Signal Pin name No. 4 SDA 3 SDB 6 RDA RDB 5 1 GRD

External device RS-422

Shield

Signal name RDA RDB SDA SDB

External device

Signal name RDA RDB SDA SDB

(See note.)

FG

Note Use the special cables for the above cables.

Use the following Cables to connect the RS-232C port on an Option Board to an NT-AL001 RS232C/RS-422A Link Adapter. Length 70 cm 2m

Model XW2Z-070T-1 XW2Z-200T-1

Wiring the Recommended Cable (XW2Z-070T-1/XW2Z-200T-1) Wiring with XW2Z-@@0T-1 (10 conductors) PLC

NT-AL001 (inside NT-AL001)

Pin Signal No. name 1 FG 2 SD 3 RD 4 RS 5 CS 6 +5V 7 DR 8 ER 9 SG Shell FG

Signal name Not used.

RD SD RS CS +5V DR ER SG FG

Pin No. 1 Arrows indicate signal directions 3 2 4 5 Returned 6 7 8 Returned 9 Shell

Shield

Note The shell (FG) is internally connected to the protective earth (GR) terminal on the CPU Unit. FG can thus be connected by connecting the protective earth (GR) terminal on the Power Supply Unit.

Precautions for Correct Use • The XW2Z-@@0T-1 Cable is designed to connect the NT-AL001 and contains special wiring for the DS and RS signals. Do not use this cable for any other application. Connecting this cable to other devices can damage them. • Always turn ON the terminating resistance on the ends of the RS-422A/485 line.

A-116

CJ2 CPU Unit Hardware User’s Manual

Page 379

Appendices

A-4-2

Connection Examples

This section provides connection examples and corresponding connection diagrams. Refer to A-4-3 Applicable Connectors and Recommended Cables for actual wiring methods.

Host Computer (Host Link or Tool Bus) Note Connections to a computer running the CX-Programmer are the same as those shown here.

z 1:1 Connections via RS-232C Port RS-232C port RS-232C

Note The maximum cable length for an RS-232C connection is 15 m. RS-232C communications specifications, however, do not cover transmissions at 19.2 Kbps. Refer to documentation of the device being connected when using this baud rate.

Connection Example for the Host Link Serial Communications Mode A-4 Connecting to a Serial Port on the CPU Unit

IBM PC/AT or compatible

CPU Unit Signal Pin name No.

FG 1 SD 2 RD 3 RS-232C 4 interface RS CS 5 5V 6 DR 7 ER 8 SG 9 D-sub, 9-pin connector (male)

Pin Signal No. name

1 CD 2 RD 3 SD 4 ER RS-232C 5 SG interface 6 DR 7 RS 8 CS 9 CI D-sub, 9-pin connector (female)

Connection Example for the Peripheral Bus (Toolbus) Serial Communications Mode IBM PC/AT or compatible

CPU Unit FG SD RD RS CS 5V DR ER SG

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9

D-sub, 9-pin connector (male)

CJ2 CPU Unit Hardware User’s Manual

CD RD SD ER SG DR RS CS CI

RS-232C interface

A-4-2 Connection Examples

Pin Signal No. name

App

RS-232C interface

Signal Pin name No.

D-sub, 9-pin connector (female)

A-117

Page 380

Appendices z 1:N Connections via RS-232C Port A connection example for converting between RS-232C and RS-422A/485 to use 1:N connections is shown below. RS-232C

RS-422A/485

NT-AL001 terminating resistance ON, 5-V power required

RS-232C

NT-AL001 Terminating resistance ON

RS-232C

RS-232C

RS-232C ports

NT-AL001 Link Adapter

Personal Computer

Shield NT-AL001 Link Adapter Pin Signal Signal Pin Signal name No. name RS-232C No. name 1 FG NC GRD 1 2 2 SD SD SG 3 RD RD SDB 3 RS-232C 4 RS RS SDA 4 Interface 5 CS CS RDB 5 6 5V RDA 6 7 DR DR CSB 7 8 ER ER CSA 8 9 SG SG RS-232 RS-422

(+) 5-V power (–) *2

RS-422A

Terminal block D-sub, 9-pin connector (male)

DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: OFF

CPU Unit

Signal Pin RS-232C Pin Signal No. name name No. *1 1 1 FG NC 2 2 SD SD 3 3 RD RD RS-232C 4 4 RS RS Interface 5 5 CS CS 6 6 5V 5V *2 7 7 DR DR 8 8 ER ER 9 9 SG SG RS-422 RS-232 D-sub, 9-pin connector DIP Switch Settings (male) Pin 1: ON Pin 2: OFF Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: ON Pin No. 1 2 3 4 5 6 7 8

Signal name GRD SG SDB SDA RDB RDA CSB CSA

NT-AL001 Link Adapter

Serial Communications Board/Unit

Signal Pin RS-232C Pin Signal Pin Signal name No. No. name No. name *1 1 1 FG 1 NC GRD 2 2 SD 2 SD SG 3 3 RD 3 RD SDB RS-232C 4 4 RS 4 RS SDA Interface 5 5 CS 5 CS RDB 6 6 5V 6 5V RDA 7 7 DR 7 DR CSB *2 8 8 ER 8 ER CSA 9 9 SG SG RS-422 RS-232 D-sub, 9-pin connector (male) DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: ON

*1 We recommend using the following NT-AL001 RS-232C/RS-422A Link Adapter Connecting Cables to connect to NT-AL001 Link Adapters. XW2Z-070T-1: 0.7 m XW2Z-200T-1: 2 m • Wiring the Recommended Cable (XW2Z-070/200T-1) The recommended cables should be wired as shown below. For an RS-232C cable, each signal wire should be twisted with the SG (signal ground) wire and placed in a shielded cable to prevent the effects of noise in noise-prone environments. The 5-V wires can also be twisted with the SG wire to increase noise immunity. Although this wiring is different from that shown in the example above, it can be used to increase noise immunity if required.

A-118

CJ2 CPU Unit Hardware User’s Manual

Page 381

Appendices

Wiring with XW2Z-@@0T-1 (10 conductors) NT-AL001

PLC Pin Signal No. name FG 1 SD 2 RD 3 RS 4 CS 5 5V 6 DR 7 ER 8 SG 9 Shell FG

Signal name Not used.

RD SD RS CS 5V DR ER SG FG

Pin No. 1 3 2 4 5 6 7 8 9 Shell

Internal signals Arrows indicate signal directions

Returned

Returned

Shield

*2 When the NT-AL001 Link Adapter is connected to the RS-232C port on the CPU Unit, 5 V is supplied from pin 6, eliminating the need for a 5-V power supply.

Precautions for Correct Use • Do not use the 5-V power from pin 6 of the RS-232C port for anything but the NT-AL001 Link Adapter, CJ1W-CIF11 RS-422A Converter, or NV3W-M@20L Programmable Terminals. Using this power supply for any other external device may damage the CPU Unit or the external device.

DIP Switch Settings on the NT-AL001 Link Adapter There is a DIP switch on the NT-AL001 Link Adapter that is used to set RS-422A/485 communications parameters. Set the DIP switch as required for the serial communications mode according to the following table. Pin

Function

Default setting

1

Not used. (Leave set to ON.)

ON

2

Internal terminating resistance setting.

ON

ON: Terminating resistance connected. OFF: Terminating resistance not connected. 3

2-wire/4-wire setting

OFF

4

Both pins ON: 2-wire communications

OFF

5

Communications mode

ON

6

Both pins OFF: Always send.

OFF

App

Both pins OFF: 4-wire communications

5 OFF/6 ON: Send when RS-232C's CS is high. 5 ON/6 OFF: Send when RS-232C's CS is low.

CJ2 CPU Unit Hardware User’s Manual

A-4 Connecting to a Serial Port on the CPU Unit

• The XW1Z-@@0T-1 Cable is designed to connect the NT-AL001 and contains special wiring for the CS and RS signals. Do not use this cable for any other application. Connecting this cable to other devices can damage them.

A-119

Page 382

Appendices z RS-422A/485 Ports with 1:1 Connection CPU Unit Personal Computer Signal name

RS-232C Interface

FG SD RD RS CS DR ER SG

NT-AL001 Link Adapter

Shield

Pin No.

Signal name

NC 1 SD 2 RD 3 RS 4 CS 5 5V 6 DR 7 ER 8 SG 9 RS-232

Signal Pin name No.

GRD SG SDB SDA RDB RDA CSB CSA

1 2 3 4 5 6 7 8

Pin No.

Signal name

3 4 1 2 5

SDA SDB RDA RDB FG

RS422A/485 Option Board

4-wire Terminating resistance: ON

RS-422

Terminal block D-sub, 9-pin connector (male) (+) 5-V power (–) DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: OFF

A-120

CJ2 CPU Unit Hardware User’s Manual