Serial Communications Unit Port; Serial Communications Board Port; Hex - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

15
12
11
C+3
Response needed / not needed
#0: Response needed
#9: Response not needed
15
C+4
Note 1 The following two methods can be used to send data to the host computer through a serial port with the host link
while initiating communications from the PLC.
1) Set the destination unit address (bits 00 to 07 of C+2) to the unit address of the CPU Unit or Serial Communica-
tions Unit/Board and set the serial port number (bits 08 to 11 of C+1) to 1 for port 1 or 2 for port 2.
Unit address
(C+2, bits 00 to 07)

00 hex

10 hex + unit number
E1 hex
2) Set the destination unit address directly into bits 00 to 07 of C+2. In this case, set the serial port number in bits 08
to 11 of C+1 to 0 for direct specification.
• Serial Communication Unit ports
Port 1
Port 2
• Serial Communication Board ports
Port 1
Port 2
• CPU Unit ports
Peripheral
RS-232C
2 When specifying the serial port without a routing table for the serial gateway function (conversion to host link FINS),
set the serial port's unit address in the destination network address byte.
3 Set the destination network address to 00 to transmit within the local network. When two or more CPU Bus Units are
mounted, the network address will be the unit number of the Unit with the lowest unit number.
4 For a broadcast transmission, set #FF hex.
To send within the same node, set #00 hex.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
8
7
4
3
0
Resend times
#0 to F (0 to 15)
#0: Fixed
Logical port number
#0 to 7 (#F: automatic allocation)
(See note 5.)
0
Response monitor time
&1 to 65535 (#0001 to FFFF hex)
0.1 to 6553.5 sec
#0000:2s (default value)
Unit
CPU Unit
Serial Communications Unit (CPU Bus Unit)
Serial Communications Board (Inner Board)
(CS Series only)
Port
Port's unit address
80 hex + 4
unit number
81 hex + 4
unit number
Port
E4 hex (228 decimal)
E5 hex (229 decimal)
Port
FD hex (253 decimal)
FC hex (252 decimal)
Serial port number
(C+1, bits 08 to 11)
1 hex
Built-in RS-232C port
2 hex
Peripheral port
1 hex
Port 1
2 hex
Port 2
1 hex
Port 1
2 hex
Port 2
Example: Unit number = 1
80 + 4
1 = 84 hex (132 decimal)
81 + 4
1 = 85 hex (133 decimal)
Port's unit address
Port's unit address
3. Instructions
3
Serial port
907

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?

Table of Contents