4SETTINGS AND PROCEDURES PRIOR TO OPERATION

(2)Connection examples

MELSEC-Q

(a)Connection example with an external device capable of turning on and off the CD signal (No. 1 pin)

Q series C24

 

 

 

External device

Signal name

Pin No.

 

 

 

Signal name

CD

1

 

 

 

CD

RD(RXD)

2

 

 

 

RD(RXD)

SD(TXD)

3

 

 

 

SD(TXD)

DTR(ER)

4

 

 

 

DTR(ER)

SG

5

 

 

 

SG

 

 

 

DSR(DR)

6

 

 

 

DSR(DR)

RS(RTS)

7

 

 

 

RS(RTS)

 

 

 

CS(CTS)

8

 

 

 

CS(CTS)

 

 

 

RI(CI)

9

 

 

 

 

The CD terminal check setting is set according to the specification of the external device. When wiring shown above, DTR/DSR control or DC code control may be performed.

(b)Connection example with an external device not capable of turning on and off the CD signal (No. 1 pin)

1) Connection example 1

Q series C24

 

 

 

External device

Signal name

Pin No.

 

 

 

Signal name

CD

1

 

 

 

CD

RD(RXD)

2

 

 

 

RD(RXD)

SD(TXD)

3

 

 

 

SD(TXD)

DTR(ER)

4

 

 

 

DTR(ER)

SG

5

 

 

 

SG

 

 

 

DSR(DR)

6

 

 

 

DSR(DR)

RS(RTS)

7

 

 

 

RS(RTS)

 

 

 

CS(CTS)

8

 

 

 

CS(CTS)

 

 

 

RI(CI)

9

 

 

 

 

When wiring shown above, DTR/DSR control or DC code control may be performed.

2) Connection example 2

Q series C24

 

 

 

External device

Signal name

Pin No.

 

 

 

Signal name

CD

1

 

 

 

CD

RD(RXD)

2

 

 

 

RD(RXD)

SD(TXD)

3

 

 

 

SD(TXD)

DTR(ER)

4

 

 

 

DTR(ER)

 

 

 

SG

5

 

 

 

SG

 

 

 

DSR(DR)

6

 

 

 

DSR(DR)

 

 

 

RS(RTS)

7

 

 

 

RS(RTS)

 

 

 

CS(CTS)

8

 

 

 

CS(CTS)

 

 

 

RI(CI)

9

 

 

 

 

When wiring shown above, DC code control may be performed.

POINT

If the PLC CPU and an external device cannot be communicated, try to perform data communication as a connection test, using the wiring connection as shown in Connection example 2.

If data can be communicated using the wiring connection shown in Connection example 2, rewire after checking the interface specifications on the external device side.

4 - 7

4 - 7