
4 Using Protocol Macros
4-2
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
4-1
Overview of the Protocol Macro
Function
The Protocol Macro Function can control the various devices that have communications interfaces and
are connected via a RS-232C or RS-422A/485. It executes data communications sequences (proto-
cols) set for each device and specified by ExecPMCR instructions in the user program.
Standard system protocols to control OMRON devices (such as Digital Controllers and Temperature
Controllers) are provided in the Serial Communications Unit.
By using the Protocol Support Tool called the CX-Protocol, you can create new protocols for commer-
cially available measuring instruments and devices, and modify the standard system protocols. The
standard system protocols are also provided with the CX-Protocol.
For details on the use of the CX-Protocol and the protocol macros, refer to the CX-Protocol Ver.1.9
OPERATION MANUAL (Cat. No. W344).
The following three methods are available to use the protocol macros.
z
Using the Standard System Protocols
It is possible to connect OMRON devices and the NJ-series CPU Unit by specifying the sequence
number of the standard system protocols in the Protocol Macro instruction (ExecPMCR). The sys-
tem protocols are prepared in the Serial Communications Unit and CX-Protocol.
Note
The devices for which standard system protocols are provided are listed below. For details,
refer to Ref A Standard System Protocol
Bar Code Readers (V500/V520), Laser Micrometers (3Z4L), Hayes Modem AT Command,
and digital temperature controllers (E5
@
N etc.) that support the CompoWay/F protocol.
4-1-1
Protocol Macros
4-1-2
Using the Protocol Macros
CPU Unit
* Send/receive messages are
stored in the area one or more
words after the send data
address or the receive data
address specified in the
ExecPMCR instruction.
Sequence
number
Sequence No.
specification
Standard system protocol
Sequence No. 001
Step 0
Messages
Memory used for
CJ-series Units
I/O refreshing
Shared memory
OMRON devices
Step 1
Serial Communications Unit
ExecPMCR
Содержание 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...