Serial Communications

 

 

 

 

Section 6-1

 

 

Transmission

 

 

 

 

 

 

 

delay time

Transmission

 

 

 

 

 

 

 

 

 

 

 

 

 

Time

 

 

 

 

 

TXD(236) instruction

 

 

 

 

 

 

 

Refer to the Instructions Reference Manual (Cat. No. O011) for more details

 

 

on the TXD(236) and RXD(235) instructions.

 

 

 

System Setup

RS-232C Settings (Host Link Port Settings)

 

 

 

 

 

 

 

 

 

 

 

 

 

Item

 

Setting

Default

 

Enabled

 

 

 

 

 

 

 

 

 

 

Mode

 

RS-232C

Host Link

 

Each cycle

 

 

 

 

 

 

 

 

 

 

Delay

 

0 to 99,990 ms (unit: 10 ms)

0 ms

 

 

 

 

 

 

 

 

 

 

 

 

End Code

 

00 to FF hex

00 hex

 

 

 

 

 

 

 

 

 

 

 

 

Start Code

 

00 to FF hex

00 hex

 

 

 

 

 

 

 

 

 

 

 

 

Received bytes

 

1 to 255 bytes

256 bytes

 

 

 

 

 

 

 

 

 

 

 

Use of end code

 

Received bytes or CR+LF

Received bytes

 

 

 

 

 

 

 

 

 

 

 

Use of start code

 

None

None

 

 

 

 

 

 

 

 

 

 

Note The settings are made using CX-Programmer Ver. 5.0@ menus.

6-1-3 NT Link (1:N Mode)

With the FQM1, communications are possible with PTs (Programmable Ter- minals) using NT Links (1:N mode).

Note Communications are not possible using the 1:1-mode NT Link protocol. Also, the standard baud rate must be used.

The settings can be made using System Setup and the PT system menu.

System Setup

 

Communi-

Name

Settings

Default

Other

 

cations

 

contents

 

conditions

 

port

 

 

 

 

 

 

 

 

 

 

 

Peripheral

Mode

NT Link (1:N

Host Link

Turn ON pin 2

 

port

 

mode)

 

on the Coordi-

 

 

 

 

 

nator Module

 

 

Baud

Standard NT

Standard NT

 

 

DIP switch.

 

 

 

Link

Link

 

 

 

 

 

 

 

 

 

 

 

 

NT Link max.

0 to 7

0

---

 

 

 

 

 

 

 

RS-232C

Mode

NT Link (1:N

Host Link

---

 

port

 

mode)

 

 

 

 

 

 

 

 

 

 

Baud

Standard NT

Standard NT

 

 

 

 

Link

Link

 

 

 

 

 

 

 

 

 

NT Link max.

0 to 7

0

---

PT System Menu

 

 

 

 

 

Set the PT as follows:

 

 

 

1,2,3... 1. Select NT Link (1:N) from the Comm. A Method or Comm. B Method on the Memory Switch Menu in the System Menu on the PT.

2.Press the SET Touch Switch to set the Comm. Speed to Standard. High- speed communications are not possible.

131

Page 154
Image 154
Omron FQM1-MMA21 NT Link 1N Mode, On the TXD236 and RXD235 instructions, PT System Menu, Setting Default Enabled