Omron FQM1-MMP21 No-protocolCommunications RS-232CPort, Serial Communications, Section

Models: FQM1-MMP21 FQM1-MMA21 FQM1-CM001

1 414
Download 414 pages 44.52 Kb
Page 152
Image 152
6-1-2 No-protocol Communications (RS-232C Port)

Serial Communications

 

Section 6-1

 

 

 

 

 

Type

Command

Name

Function

 

 

code

 

 

 

 

 

 

 

Forced Status

23

 

01

FORCED SET/RESET

Force-sets, force-resets, or clears the forced status of

 

 

 

 

 

the specified bits.

 

 

 

 

 

 

 

23

 

02

FORCED SET/RESET CANCEL

Cancels the forced status of all force-set and force-reset

 

 

 

 

 

bits.

 

 

 

 

 

 

6-1-2 No-protocol Communications (RS-232C Port)

No-protocol Mode is used to send and receive data using the communications port TXD(236) and RXD(235) I/O instructions in the Coordinator Module lad- der program, without using retry processing, data conversion, branch pro- cessing based on received data, or other communications procedures and without converting the data.

No-protocol mode can be used with the RS-232C and RS-422A ports in the Coordinator Module. Data can be sent or received in one direction only between the Module and the general-purpose external device connected to the RS-232C or RS-422A port.

For example, data can be input from a bar code reader or output to a printer, or parameter data can be sent and received from a host controller.

RS-232C port

 

FQM1

 

 

Coordinator Module

Coordinator Module ladder program

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXD/RXD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

instructions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

No protocol

RS-232C

General-purpose external device

The following table lists the no-protocol communications functions available for the FQM1.

Send/receive

Transfer

Method

Max.

Frame format

Other functions

 

direction

 

amount of

 

 

 

 

 

Start code

End code

 

 

 

 

data

 

 

 

 

 

 

 

Sending data

FQM1 to Gen-

Execute

256 bytes

Yes: 00 to FF

Yes: 00 to FF

• Send delay time

 

eral-purpose

TXD(236) in

 

No: None

CR+LF

(delay between

 

external

the program

 

TXD(236) execution

 

 

 

None

 

device

 

 

 

and sending data

 

 

 

 

(Specify recep-

 

 

 

 

 

from specified port):

 

 

 

 

 

tion data size to

0 to 99,990 ms (unit:

 

 

 

 

 

between 1 and

10 ms)

 

 

 

 

 

256 bytes when

• RS and ER signal

 

 

 

 

 

set to none.)

 

 

 

 

 

ON/OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

Receiving

General-pur-

Execute

256 bytes

 

 

Monitoring of CS and

data

pose external

RXD(235) in

 

 

 

DR signals

 

device to

the program

 

 

 

 

 

FQM1

 

 

 

 

 

 

 

 

 

 

 

 

129

Page 152
Image 152
Omron FQM1-MMP21, FQM1-CM001, FQM1-MMA21 No-protocolCommunications RS-232CPort, Serial Communications, Section