Omron SYSMAC CS Series Instruction & Reference Manual page 846

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
• Specification of monitor in bits 4 to 7 of C for the CS and DR signals takes effect as follows:
1) If CS signal monitoring is specified in C, the status of the CS signal will be stored in bit 15 of D.
2) If DR signal monitoring is specified in C, the status of the DR signal will be stored in bit 15 of D.
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, DRXDU(261) 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.
• Clearing the reception buffer immediately after DRXDU(261) execution can be enabled or disabled in
the allocated DM Area words (m+25/m+35 bit 00).
Note Related Auxiliary Area and CIO Area Addresses
(a) Reception Completed Flags (n = CIO 1500 + 25 × unit number)
Port 1:
Bit 6 of n+9
Port 2:
Bit 6 of n+19
(b) Reception Counters (n = CIO 1500 + 25 × unit number)
Port 1:
n+10
Port 2:
n+20
(c) Reception Overflow Flags (n = CIO 1500 + 25 × unit number)
Port 1:
Bit 7 of n+9
Port 2:
Bit 7 of n+19
(d) Overrun Error Flags (n = CIO 1500 + 25 × unit number)
Port 1:
Bit 4 of n+8
Port 2:
Bit 4 of n+18
(e) Transmission Error Flags (n = CIO 1500 + 25 × unit number)
Port 1:
Bit 15 of n+8
Port 2:
Bit 15 of n+18
812
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents