Network Instructions - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Network Instructions

Instruction
Symbol/Operand
Mnemonic
Code
RECEIVE VIA
RXDU(255)
SERIAL COMMU-
NICATIONS UNIT
RXDU
@RXDU
255
D: 1st destination
word
C: 1st control word
N: Number of bytes
to store
(0000 to 0100 hex)
CHANGE SERIAL
STUP(237)
PORT SETUP
STUP
@STUP
237
C: Control word
(port)
S: First source
word

3-23 Network Instructions

Instruction
Symbol/Operand
Mnemonic
Code
NETWORK SEND
SEND(090)
SEND
@SEND
090
S: 1st source
word
D: 1st destination
word
C: 1st control
word
NETWORK
RECV(098)
RECEIVE
RECV
@RECV
098
S: 1st source
word
D: 1st destination
word
C: 1st control
word
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
D
code and end code (if any) specified in the allocated DM Setup Area.
C
N
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
C
changed during PLC operation.
S
Transmits data to a node in the network.
Local node
S
15
0
D
S
C
Requests data to be transmitted from a node in the network and
receives the data.
S
Local node
D
15
C
D
m
Function
Function
Destination node
15
D
n: No.
of send
words
Source node
0
15
S
n
Section 3-23
Location
Execution condition
Output
Required
Location
Execution condition
Output
Required
0
n
Output
Required
0
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents