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

Table of Contents

Advertisement

3) If CS and DR signal monitoring is specified in C, the status of the CS signal will be stored in bit 15
of D and the status of the DR signal will be stored in bit 14 of D.
• If 1, 2, or 3 hex is specified for RS and DR signal control in C, RXDU(255) will be executed regardless
of the status of the Receive Completed Flag (note (a)).
• Receive data will not be stored if CS or DR signal monitoring is specified.
• Up to 259 bytes can be received, including the receive data (N = 256 bytes max.), the start code, and
the end code.
• Specify the size of the receive data, not including the start code and end code, in N.
• The logical port number can be set to any value between 0 and 7 and is specified with bits 12 to 15 of
C+1.
• The logical port number can be allocated automatically by setting bits 12 to 15 of C+1 to F. For
details, refer to Automatically Allocating Communications Ports (i.e., Internal Logical Ports) on page
1115.
Note Related Auxiliary Area and CIO Area Addresses
(a) Reception Completed Flags (n = CIO 1500 + 25
Port 1:
Bit 6 of n+9
Port 2:
Bit 6 of n+19
(b) Reception Counters (n = CIO 1500 + 25
Port 1:
n+10
Port 2:
n+20
(c) Reception Overflow Flags (n = CIO 1500 + 25
Port 1:
Bit 7 of n+9
Port 2:
Bit 7 of n+19
(d) Overrun Error Flags (n = CIO 1500 + 25
Port 1:
Bit 4 of n+8
Port 2:
Bit 4 of n+18
(e) Transmission Error Flags (n = CIO 1500 + 25
Port 1:
Bit 15 of n+8
Port 2:
Bit 15 of n+18
CS/CJ/NSJ Series Instructions Reference Manual (W474)
unit number)
unit number)
unit number)
unit number)
unit number)
3. Instructions
3
859

Advertisement

Table of Contents
loading

Table of Contents