3. Instructions
936
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Note 1 The following two methods can be used to receive data from a host computer through a serial port with the host link
while initiating communications from the PLC.
1) Set the source unit address (bits 00 to 07 of C+2) to the unit address of the CPU Unit or Serial Communications
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.
2) Set the source 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
• Serial Communication Board ports
• CPU Unit ports
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 source network address byte.
3 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 address will be the unit number of the Unit with the lowest unit number.
4 Broadcast transmission is not possible using a RECV(098) instruction. For a send request within the same node, set
#00.
Unit address
(C+2, bits 00 to 07)
Unit
Serial port number
(C+1, bits 08 to 11)
Serial port
00 hex CPU Unit 1 hex Built-in RS-232C port
2 hex Peripheral port
10 hex + unit number Serial Communications Unit (CPU Bus Unit) 1 hex Port 1
2 hex Port 2
E1 hex Serial Communications Board (Inner Board)
(CS Series only)
1 hex Port 1
2 hex Port 2
Port Port’s unit address Example: Unit number = 1
Port 1 80 hex + 4 × unit number 80 + 4 × 1 = 84 hex (132 decimal)
Port 2 81 hex + 4 × unit number 81 + 4 × 1 = 85 hex (133 decimal)
Port Port’s unit address
Port 1 E4 hex (228 decimal)
Port 2 E5 hex (229 decimal)
Port Port’s unit address
Peripheral FD hex (253 decimal)
RS-232C FC hex (252 decimal)
C+ 3
Resend times
#0 to F (0 to 15)
#0: Fixed
8
11 12 15
0 3 4 7
Logical port number
#0 to 7 (#F: automatic allocation)
C+ 4
0
15
Response monitor time
&1 to 65535 (#0001 to FFFF hex)
0.1 to 6553.5 sec
#0000: 2s (default value)
Response needed / not needed
#0: Fixed at response needed (Response is fixed to "required.")