
1 Introduction
1-6
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
In Protocol Macro Mode. the Serial Communications Unit uses the data transfer procedures (proto-
cols) that are created by CX-Protocol to communicate with general-purpose external devices. The
protocols can be created so as to match the communications specifications (half-duplex or full-
duplex, and start-stop synchronization) of external devices.
These protocols are stored in the Serial Communications Unit, and enable data to be exchanged
with general-purpose external devices simply through execution of the ExecPMCR instruction in the
CPU Unit.
Standard system protocols to exchange data with OMRON devices (such as Temperature Control-
lers, Intelligent Signal Processors, Bar Code Readers, and Modems) are provided as a standard
feature in the CX-Protocol and the Serial Communications Unit. You can also use CX-Protocol to
change the standard system protocols according to user requirements.
The loopback test is a testing function for communications circuits. The Serial Communications Unit
compares transmitted data and loopback data. To perform loopback tests, connect a loopback wire con-
nector to the port of the Serial Communications Unit.
This loopback test is performed inside the specified serial communications port. It is not a loopback test
using the RS-232C or RS-422A/485 communications path.
The received message is automatically converted to either CompoWay/F, Modbus-RTU, or Modbus-
ASCII, depending on the type of message.
z
CompoWay/F, Modbus-RTU, and Modbus-ASCII
1-3-1
Protocol Macros
1-3-2
Loopback Test
1-3-3
Serial Gateway Mode
Communications sequence
Protocol
General-purpose external device
Serial Communications Unit
ExecPMCR
The loopback test results
are stored.
Loopback test switch
Loopback test
SendCmd
CompoWay/F
CompoWay
Modbus-RTU/
Modbus-ASCII
command
Serial
Communications
Unit
Serial
Gateway
CompoWay-compatible
OMRON component,
Modbus-RTU-, or Modbus
ASCII-compatible device
Header
Содержание 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...