Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 857

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Serial Communications Instructions
824
Related PLC Setup Settings
The following PLC Setup settings must be made for the serial port 1 or serial
port 2 executing RXD(235). after setting the communications mode to no-pro-
tocol (RS-232C mode).
Setting
Communications Settings Standard
Start Code
End Code
Received
Bytes
End Code
Delay
Auxiliary Area Flags
Name
Serial Port 1 Reception
Completed Flag
Serial Port 2 Reception
Completed Flag
Serial Port 1 Reception
Overflow Flag
Serial Port 2 Reception
Overflow Flag
Serial Port 1 Reception
Counter
Serial Port 2 Reception
Counter
Description
The standard settings are as follows: 9,600
baud, 1 start bit, 7-bit data, even parity, and
2 stop bits.
Custom
Baud: 300, 600, 1,200, 2,400, 4,800,
9,600, 19,200, 38,400, 57,600, or
115,200 bps
Format: 7- or 8-bit data; 1 or 2 stop
bits; even, odd, or even parity
Disable
---
Set
00 to FF hex
No
---
Yes
00 hex: 256 bytes
01 to FF hex: 1 to 255 bytes
No
---
CR/LF
---
Set
00 to FF hex
0000 to 210F hex: 0 to 99,990 ms (10-ms units)
Address
A392.14
ON when the serial port has completed
the reception in no-protocol mode.
When the number of bytes was speci-
A392.06
fied: ON when the specified number of
bytes is received.
When the end code was specified: ON
when the end code is received or 256
bytes are received.
A392.15
ON when a data overflow occurred dur-
ing reception through a serial port in
no-protocol mode.
A392.07
.When the number of bytes was speci-
fied: ON when more data is received
after the reception was completed but
before RXD(235) was executed.
When the end code was specified: ON
when more data is received after the
end code was received but before
RXD(235) was executed.
ON when 257 bytes are received before
the end code.
A394
Indicates (in hexadecimal) the number
of bytes of data received when the
serial port is in no-protocol mode.
A393
Section 3-23
Contents

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents