beautypg.com

Omron Programmable Terminals NT31 NT31C User Manual

Page 89

background image

4-1

Section

Connecting to the RS-232C Port at the Host

78

Setting the Front Switches
Set the unit number of the serial communication unit by using the rotary switch
located on the front panel. Set each switch with a flat blade screwdriver so that
the values or symbols in the setting value window agree with the following.

Set the unit number to 0 through F so
that it will not overlap with the numbers
used in other units.

SCU21

RUN
ERC
SD1
RD1

RDY
ERH
SD2
RD2

No.

FE

D

C

B

A

9

8

7

6

5

4

32

10

UNIT

Allocation DM Area Settings for CPU
Setting is written from the Programming Device (a Programming Console or CX-
Programmer) directly into the allocation DM area (system setting area) of the
CPU. After the setting is written, it becomes effective by turning the power ON,
restarting the unit, restarting the communication port, or execution of the STUP
command.
In the following, the channel numbers of the allocation DM area and settings are
shown.

Word m = DM30000 + (100

× unit number)

Allocation DM area (CH)

Writing

Settings

Port 1

Port 2

Writing

Value

Settings

m

m+10

8200

NT link (1:N) mode

m+1

m+11

000A

Communications baud rate (high-speed)

m+6

m+16

000

j

j = The largest model number of the
connected PT (0 - 7)

In the memory link method, the connection can be made to a personal computer
with RS-232 and an FA computer, etc.

When connecting to the host in the memory link method, it is necessary to create
a program for the memory link at the host side.

The following are the communication conditions that can be used in the memory
link method. For the host (a personal computer, an FA computer, etc.), its setting
should be compatible to one of the communication conditions listed in the follow-
ing table. Set the same communication conditions at the NT31/NT31C by the
memory switch. (page 165).

Item

Settings at the host

Input/Output port

RS-232C

Communication speed

1200, 2400, 4800, 9600, 19200, 38400 bps.

Data bits length

7 bits, 8 bits

Stop bits length

1 bits, 2 bits

Parity

None, even, odd

Flow control

None, RS/CS, XON/XOFF

When Using the Memory
Link Method