
4-3
4 Using Protocol Macros
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
4-1
Over
vie
w
of t
h
e Pr
o
to
c
ol Mac
ro F
unc
tion
4
4-1-2 U
s
ing the Protoco
l Macros
z
Modifying Standard System Protocols
When you connect OMRON devices, if there is no standard system protocol or you wish to modify
part of the protocol, use the CX-Protocol to modify the standard system protocol, transfer this as a
separate communications sequence to the Serial Communications Unit, and execute the ExecP-
MCR instruction.
z
Creating a New Protocol
When you connect a general-purpose external device that has an RS-232C or RS-422A/485 port,
use the CX-Protocol to create a new protocol that contains the communications specifications for the
general-purpose external device, transfer these specifications to the Serial Communications Unit,
and execute the ExecPMCR instruction.
Modifying and transferring
standard system protocols
Modified standard
system protocol
Command execution Send, Recv, Send&Recv
RS-232C or RS-422A/485
General-purpose external device
CPU Unit
Sequence
number
Memory used for
CJ-series Units
Sequence No.
specification
I/O refreshing
Shared memory
Step 0
Messages
Serial Communications Unit
Step 1
Step 2
ExecPMCR
Creating and transferring a new protocol
Newly created protocol
CPU Unit
Sequence
number
Memory used for
CJ-series Units
Sequence No.
specification
I/O refreshing
Shared memory
Step 0
Messages
Serial Communications Unit
General-purpose external device
RS232C or RS-422A/485
Step 1
Step 2
Command execution Send, Recv, Send&Recv
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...