Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 882

Table of Contents

Advertisement

3. Instructions
Start Code/End Code Settings and Receive Data
No Start or End Code
1 2 3 4 5 6 0...
Only Start Code
1 2 3 4 5 6 0...
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...
Start and CR+LF End Code
CPU Unit's RS-232C port
Hint
• When RXD(235) is used to read data that was received at the CPU Unit's RS-232C port, the
remaining data in the port's reception buffer is not cleared, so RXD(235) can be executed repeatedly
to read a block of data in parts.
In contrast, when RXD(235) is used to read data that was received at one of the Serial
Communications Board's ports (Serial Communications Board version 1.2 or later), the port's
reception buffer is cleared after RXD(235) is executed. Consequently, RXD(235) can not be executed
repeatedly to read a block of data in parts.
846
Only End Code
CR
LF
1 2 3 4 5 6 0...
Received
Bytes
1
2
3
4
Max: 256 bytes
5
6
Receive bytes: Specified
in the PC Setup
Receive bytes after ST:
Specified in the PC Setup
Receive bytes before
ED: 256 max.
Receive bytes between
ST and ED: 256 max.
Receive bytes before
CR+LF: 256 max.
Receive bytes between
ST and CR+LF: 256 max.
When receiving the most significant
bytes first is specified (0):
Least signif-
Most signifi-
cant bytes
icant bytes
N bytes
stored in the
1
2
specified
order.
3
4
5
6
When receiving the least significant
bytes first is specified (1):
Most signifi-
Least signif-
cant bytes
icant bytes
1
2
3
4
5
6
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents