Omron CJ1W-SCU32 Operation Manual page 60

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

1 Introduction
No-protocol Specifications
Item
Communications
mode
Baud rate (*)
Communications
distance (*)
Messages (commu-
nications frame
structure)
Sending messages
Receiving mes-
sages
Maximum message
length
Data conversion
Communications
protocol
Message delay time
Receive counter
Reception buffer
clear timing
* The baud rate and the communications distance sometimes depend on the remote device.
1-20
Full-duplex
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
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.)
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
End code
Number of receive data bytes during recep-
tion
SerialSend instruction
SerialRcv or SerialRcvNoClear instruction
Sending and receiving: Up to 259 bytes including the start code and end code (up to 256
bytes excluding start/end codes)
No conversion
None
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.)
The number of data bytes (0 to 256) received at the port can be counted.
SerialRcv instruction: After reading the receive data
SerialRcvNoClear instruction: When the receive data size variable (Size) is set to 0
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Description
None or 00 to FF hex
None, 00 to FF hex, or CR + LF
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.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents