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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Serial Communications Instructions
Flags
Precautions
822
No Start or End Code
1 2 3 4 5 6 0...
Only Start Code
1 2 3 4 5 6 0...
Only End Code
1 2 3 4 5 6 0...
Start and End Code
1 2 3 4 5 6 0...
CR+LF End Code
1 2 3 4 5 6 0...
CR
Start and CR+LF End Code
1 2 3 4 5 6 0...
Received
Serial port on Serial Communications Option Board
Bytes
1
2
3
4
Max: 256 bytes
5
6
Name
Label
Error Flag
ER
RXD(235) can be used only for serial ports on Serial Communications Option
Boards mounted to the CPU Unit. In addition, the port must be set to no-proto-
col mode.
The following receive message frame format can be set in the PLC Setup.
• Start code: None or 00 to FF hex
Receive bytes: Specified
in the PLC Setup
Receive bytes after ST:
Specified in the PLC Setup
Receive bytes before
ED: 256 max.
Receive bytes between
ST and ED: 256 max.
LF
Receive bytes before
CR+LF: 256 max.
Receive bytes between
ST and CR+LF: 256 max.
When receiving the most signifi-
cant bytes first is specified (0):
Most signifi-
cant bytes
N bytes
stored in the
specified or-
der.
When receiving the least signifi-
cant bytes first is specified (1):
Most signifi-
cant bytes
Operation
ON if no-protocol mode is not set in the PLC Setup.
ON if the value of C is not within range.
ON if the value for N is not between 0000 and 0100 hex.
OFF in all other cases.
Section 3-23
Least signif-
icant bytes
1
2
3
4
5
6
Least signif-
icant bytes
1
2
3
4
5
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents