EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Network Instructions

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
143
Network Instructions
Section 3-23
3-23 Network Instructions
RECEIVE VIA
SERIAL COMMU-
NICATIONS UNIT
RXDU
@RXDU
255
Reads the specified number of bytes of data starting with the specified
first word from the serial port of a Serial Communications Unit with unit
version 1.2 or later. The data is read in no-protocol mode with the start
code and end code (if any) specified in the allocated DM Setup Area.
CHANGE SERIAL
PORT SETUP
STUP
@STUP
237
Changes the communications parameters of a serial port on the CPU
Unit, Serial Communications Unit (CPU Bus Unit), or Serial Communi-
cations Board. STUP(237) thus enables the protocol mode to be
changed during PLC operation.
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
NETWORK SEND
SEND
@SEND
090
Output
Required
NETWORK
RECEIVE
RECV
@RECV
098
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
RXDU(255)
D
C
N
D: 1st destination
word
C: 1st control word
N: Number of bytes
to store
(0000 to 0100 hex)
STUP(237)
C
S
C: Control word
(port)
S: First source
word
SEND(090)
S
D
C
S: 1st source
word
D: 1st destination
word
C: 1st control
word
D
15
0
n
S
15
0
Transmits data to a node in the network.
Local node
Destination node
n: No.
of send
words
RECV(098)
S
D
C
S: 1st source
word
D: 1st destination
word
C: 1st control
word
D
15
0
15
0
S
m
n
Source nodeLocal node
Requests data to be transmitted from a node in the network and
receives the data.

Table of Contents

Related product manuals