Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1054

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Serial Communications Instructions
Operand Specifications
Description
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
RXDU(255) reads data that has been received in no-protocol mode at the
Serial Communications Unit with the unit address specified in bits 0 to 7 of
C+1, through the port specified with bits 8 to 11 of C+1, and stores that data
starting at D. If fewer than N bytes of data have been received at the port, then
only the data that has been received will be stored. 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.
Execute RXDU(255) to read the received data from the buffer when the
Reception Completed Flag (in the allocated DM Setup Area) is ON.
Up to 259 bytes can be received, including the receive data (N = 256 bytes
max.), the start code, and the end code.
The following diagram shows the order in which data is received and the con-
tents of the receive frame for various settings.
Note The logical port number can be allocated automatically by setting bits 12 to 15
of C+1 to F. For details, refer to Automatic Allocation of Communications Ports
on page 1033.
D
CIO 0000 to CIO
CIO 0000 to CIO
6143
6142
W000 to W511
W000 to W510
H000 to H511
H000 to H510
A000 to A959
A000 to A958
T0000 to T4095
T0000 to T4094
C0000 to C4095
C0000 to C4094
D00000 to
D00000 to
D32767
D32766
E00000 to
E00000 to
E32767
E32766
En_00000 to
En_00000 to
En_32767
En_32766
(n = 0 to C)
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
Specified values
only
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-24
C
D
CIO 0000 to CIO
6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
D00000 to
D32767
E00000 to
E32767
En_00000 to
En_32767
(n = 0 to C)
#0000 to #0100
(binary) or &0 to
&256 (decimal)
DR0 to DR15
1015

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents