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

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

Advertisement

Network Instructions
Ladder Symbol
Variations
Applicable Program Areas
Operands
Note
1052
RECV(098)
S
D
C
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
C: First control word
The five control words C to C+4 specify the number of words to be received,
the source of the transmission, and other settings shown in the following table.
Word
Bits 00 to 07
C
Number of words: 0001 to maximum allowed
C+1
Source network address:
00 to 7F (0 to 127)
C+2
Source unit address
C+3
No. of retries: 00 to 0F (0 to 15)
C+4
Response monitoring time: 0001 to FFFF (0.1 to 6553.5 seconds)
(The default setting of 0000 sets a monitoring time of 2 seconds.)
1. The maximum number of words allowed depends on the network being
used. For a Controller Link, the allowed range is 0001 to 03DE (1 to 990
words).
2. Set the source network address to 00 to specify a source within the local
network. When two or more CPU Bus Units are mounted, the network ad-
dress will be the unit number of the Unit with the lowest unit number.
3. The following two methods can be used to receive data from a host com-
puter through a serial port with the host link while initiating communications
from the PLC.
S: First source word (remote node)
D: First destination word (local node)
C: First control word
Step program areas
Subroutines
OK
Bits 08 to 11:Serial port number
2, 4
(physical port)
1 hex:
2 hex:
(Do not set 0, 3, or 4.)
Bits 12 to 15: Always 0.
5
Source node address:
00 to maximum allowed
Port number: 00 to 07
Response is fixed to "required."
Section 3-25
RECV(098)
@RECV(098)
Not supported
Interrupt tasks
OK
Bits 08 to 15
1
(4-digit hexadecimal)
Port 1
Port 2
6
7
(F: Automatic allocation)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents