
1 Introduction
1-20
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
z
No-protocol Specifications
* The baud rate and the communications distance sometimes depend on the remote device.
Item
Description
Communications
mode
Full-duplex
Baud rate (*)
RS-232C port and RS-422A/485 ports:
1,200/2,400/4,800/9,600/19,200/38,400/57,600/115,200/230,400 bps
Default setting: 9,600 bps
Communications
distance (*)
RS-232C port: 15 m max.
RS-422A/485 port:
1,200 m max. (total cable length: 1,200 m max., Multidrop connections are possible. How-
ever, maximum cable length is 500 m if the NT-AL001 is used for RS-422A-485 connec-
tions.)
Messages (commu-
nications frame
structure)
Set either of the following six types in the Sysmac Studio or device variable for CJ-series
Unit.
1. Data only (without start code or end code)
2. Start code + data
3. Data + end code
4. Start code + data + end code
5. Data + CR + LF
6. Start code + data +CR + LF
You can make the following setting with the Sysmac Studio or device variable for CJ-series
Unit:
Select to have the start code or not,
select to have the end code or not,
select the start code from 00 to FF hex when you set to have one,
select the end code from 00 to FF hex when you set to have one, and
set the number of receive data bytes when you set not to have the end code.
Start code
None or 00 to FF hex
End code
None, 00 to FF hex, or CR + LF
Number of receive data bytes during recep-
tion
Set the number of receive data bytes
between 1 and 256 bytes (according to the
settings in Sysmac Studio or device variable
for CJ-series Unit.) when frame structure 1
or 2 above is used.
Sending messages
SerialSend instruction
Receiving mes-
sages
SerialRcv or SerialRcvNoClear instruction
Maximum message
length
Sending and receiving: Up to 259 bytes including the start code and end code (up to 256
bytes excluding start/end codes)
Data conversion
No conversion
Communications
protocol
None
Message delay time
When the SerialSend instruction is executed, after the send delay time, the data is sent
from the port.
0 to 300 s (0 to 300,000 ms)
(Can be set in 10-ms units: Set in System Studio or by using a device variable for CJ-series
Unit.)
Receive counter
The number of data bytes (0 to 256) received at the port can be counted.
Reception buffer
clear timing
SerialRcv instruction: After reading the receive data
SerialRcvNoClear instruction: When the receive data size variable (Size) is set to 0
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...