Connecting to the RS-232C Port at the Host

Section 4-1

CS/CJ-series CPU Unit: CS1G/H-CPU@@-E(V1), CS1G/H/D-CPU@@H

CJ1G/M-CPU@@, CJ1G/H-CPU@@H

Connect to the built-in RS-232C port of the CPU Unit, or the RS-232C port of the Communications Board. Note that the connection to a peripheral port must be made via an RS-232C adapter (CS1W-CN118) specially designed for connecting to a peripheral port.

PLC Setup

When connecting to a CS/CJ-series CPU Unit, set the following communica- tions conditions for the PLC Setup area. Since the settings shown below are the PLC default settings for the CPU Unit, no change to the PLC Setup is nec-

essary as long as the communications speed is maintained at 9600 bps.

Item

Setting at Host

 

 

Communications speed

Set the same speed as set at the NT631/NT631C(*1)

 

 

Stop bits

2 stop bits

 

 

Parity

Even

 

 

Data length

ASCII 7 bits

 

 

Unit No. for the host link

00

 

 

*1 Set the host link communications speed at 9600 bps or 19200 bps with the memory switch at the NT631/NT631C. For details, refer to 6-7-2 Setting the Host Link Method (page 155).

When the communications speed is set to 19200 bps., the PLC Setup of the CPU Unit need to be changed.

Either set the PLC Setup directly from a Programming Device (Programming

Console), or transmit the PLC Setup made at a Programming Device (CX-

Programmer) to the CPU Unit.

For details on the PLC Setup, refer to the SYSMAC CS Series Operation

Manual (W339) or the SYSMAC CJ Series Operation Manual (W393).

Using the CPU Unit’s Built-in RS-232C Port

Word #

Writing Value

Settings

 

 

 

160

8000

Host link mode, data length 7 bits,

 

 

2 stop bits, even parity

 

 

 

161

0000

Communications speed: 9600 bps.

 

 

 

 

0007

Communications speed: 19200 bps.

 

 

 

166

0000

Unit #00

 

 

 

Using the CPU Unit’s Peripheral Port

Word #

Writing Value

Settings

 

 

 

144

8000

Host link mode, data length 7 bits,

 

 

2 stop bits, even parity

 

 

 

145

0000

Communications speed: 9600 bps.

 

 

 

 

0007

Communications speed: 19200 bps.

 

 

 

150

0000

Unit #00

 

 

 

Setting the Front Switches

Set the CPU Unit’s DIP switches to 4 or 5 in accordance with the port NT631/ NT631C is connected to. An example of a CS-series CPU Unit is shown below.

59

Page 76
Image 76
Omron NT631C manual CS/CJ-series CPU Unit CS1G/H-CPU@@-EV1, CS1G/H/D-CPU@@H, Using the CPU Unit’s Peripheral Port