Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 970

Table of Contents

Advertisement

3. Instructions
C: First Control Word
15
C
Bytes of command data (See note 1.)
0002 to maximum data length (hex)
The maximum data length for command
addressed to the local CPU Unit is 1,990 bytes (07C6 hex).
For commands sent via networks, the maximum data
length depends on the network, for example,
2 to 1,990 decimal (0002 to 07C6 hex) for
Controller Link.
15
C+1
Bytes of response data (See note 1.)
0000 to maximum data length (hex)
The maximum data length for responses received
from the local CPU Unit is 1,990 bytes (07C6 hex).
For responses received via networks, the maximum
data length depends on the network, for example,
0 to 1,990 decimal (0000 to 07C6 hex) for
Controller Link.
15
12
11
8
7
C+2
0 0 0 0
Serial port number (physical port)
#0: Do not use.
Always #0.
#1: Port 1
#2: Port 2
#3: Reserved.
#4: Reserved.
15
8
7
C+3
Destination node number (See note 3.)
00 to maximum node number (hex)
(Depends on network, for example
00 to 20 hex (0 to 32 decimal) for Controller Link.)
FF hex: Broadcast
15
12
11
8
7
4
C+4
Communications port number
0 to 7 hex (F hex: automatic port allocation)
Response setting
0: Response requested
8: No response requested
15
C+5
Response monitoring time
1 to 65535 decimal (0001 to FFFF hex)
0.1 to 6,553.5 s
0000 hex: 2 s (default)
Note 1 Refer to the operation manual for the specific network for the maximum data lengths for the command data and
response data. For any FINS command passing through multiple networks, the maximum data lengths for the com-
mand data and response data are determined by the network with the smallest maximum data lengths. If more bytes
are received than the specified number of bytes, only the specified number of bytes will be stored. If fewer bytes are
received, they will be stored and the remaining words in the reception area will not be changed.
2 The unit addresses are as follows:
• CPU Bus Unit: 10 hex + unit number
• Special I/O Unit (except for C200H Special I/O Units): 20 hex + unit number
• Inner Board: E1 hex (CS Series only)
• Computer: 01 hex
• Unit connected to network: FE hex (Eliminates the need to specify the unit number of the remote Unit.)
934
0
0
0
Destination network address
#00 to #7F
0
Destination unit address (See note 2.)
00 to FE hex
3
0
Number of retries
0 to F hex (0 to 15 decimal)
Always 0.
0
I: First communications information word
Clear D and I words before executing the instruction.
15
I
System work
area
15
I+1
Communications completion code: 0000 to FFFF hex
CS/CJ/NSJ Series Instructions Reference Manual (W474)
1
0
Execution Completed Flag
0: Not completed.
1: Execution completed
Error Flag
0: No error
1: Error
0

Advertisement

Table of Contents
loading

Table of Contents