Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 896

Table of Contents

Advertisement

3. Instructions
Start Code/End Code Settings and Send Data
ST
1, 2, 3, 4, 5, 6...
ST
1, 2, 3, 4, 5, 6...
ST
Serial port on Serial Communications Unit
Flag Operation
Serial
Communications
Unit
CPU Unit
858
No Start or End Code
1, 2, 3, 4, 5, 6...
Only Start Code
1, 2, 3, 4, 5, 6...
Only End Code
ED
Start and End Code
1, 2, 3, 4, 5, 6...
ED
CR+LF End Code
LF
CR
Start and CR+LF End Code
1, 2, 3, 4, 5, 6...
CR LF
Data received.
Bytes
1
2
3
N
Storage order
4
(256 bytes max.)
5
6
Reception processing
Reception Completed Flag
(Bit 6 of n+9 or n+19)
DRXDU(261)
Writing data to the CPU Unit's
data area
Number of bytes
(Specified in allocated
DM Setup Area)
Number of bytes
(Specified in allocated
DM Setup Area)
Number of bytes up to ED:
256 max.
Number of bytes between
ST and ED: 256 max.
Number of bytes up to
CR+LF: 256 max.
Number of bytes between
ST and CR+LF: 256 max.
Byte order
0: Most significant bytes first
Most signifi-
Least signif-
cant bytes
icant bytes
15
8
7
1
2
D
3
4
D+1
5
6
D+2
Byte order
1: Least significant bytes first
Most signifi-
Least signif-
cant bytes
icant bytes
15
8
7
2
1
D
4
3
D+1
6
5
D+2
Reception
processing
Instruction
execution
Write
processing
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0
0

Advertisement

Table of Contents
loading

Table of Contents