Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 910

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Network Instructions
(2) The number of bytes of response data in C+1 is 0000 to the maximum
data length in hexadecimal. For example, the number of bytes would be
0000 to 07C6 hex (0 to 1,990 bytes) for Controller Link systems. The
number of bytes for the local CPU Unit is 07C6 hex (1,990 bytes). The
number of bytes of response data depends on the network.
(3) 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 command data and response data are determined by the network
with the smallest maximum data lengths.
(4) Set the destination network address to 00 to transmit within the local net-
work. 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.
(5) The following two methods can be used to send a FINS command to a
host computer through a serial port with the host link host link while initi-
ating communications from the PLC, or the serial gateway function (con-
verted to CompoWay/F, Modbus-RTU, or Modbus-ASCII).
(a) Set the destination unit address (bits 00 to 07 of C+3) to the unit
address of the CP1H CPU Unit or CJ-series Serial Communica-
tions Unit and set the serial port number (bits 08 to 11 of C+2) to
1 for port 1 or 2 for port 2.
Unit address
(C+3, bits 00
to 07)
00 hex
CP1H CPU Unit
10 hex + unit
CJ-series Serial Com-
number
munications Unit (CPU
Bus Unit)
(b) Set the destination unit address directly into bits 00 to 07 of C+3.
In this case, set the serial port number in bits 08 to 11 of C+2 to
0 for direct specification.
CP1H or CP1L M (30 or 40 I/O points) CPU Unit Serial Commu-
nications Option Board Ports
Port
Port 1
Port 2
CP1L L (14 or 20 I/O points) CPU Unit Serial Communications
Option Board Port
Port
Port 1
CJ-series Serial Communication Unit Ports
Port
Port's unit address
Port 1
80 hex + 4
Port 2
81 hex + 4
(6) When specifying the serial port without a routing table for the serial gate-
way function (conversion to host link FINS), set the serial port's unit ad-
dress in the destination network address byte.
Unit
Serial port number
(C+2, bits 08 to 11)
1 hex
2 hex
1 hex
2 hex
Port's unit address
FD hex (253 decimal)
FC hex (252 decimal)
Port's unit address
FC hex (252 decimal)
Example: Unit number = 1
unit number 80 + 4
unit number 81 + 4
Section 3-24
Serial port
Port 1
Port 2
Port 1
Port 2
1 = 84 hex (132 decimal)
1 = 85 hex (133 decimal)
877

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents