147
Overview of the Protocol Macro Functions Section 5-1
sequence to the Serial Communications Board or Unit, and execute the
PMCR(260) instruction.
Creating a New Protocol When connecting a general-purpose external device that has an RS-232C or
RS-422A/485 port, use the CX-Protocol to create a new protocol containing
the communications specifications for the general-purpose external device,
transfer these specifications to the Serial Communications Board or Unit, and
execute the PMCR(260) instruction.
In this manual, the protocol structure is explained in simple terms, and exam-
ples are given of the use of the PMCR(260) instruction when controlling
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
I/O memory
Sequence No.
specification
I/O refreshing
Shared memory
Step 0
Messages
Serial Communications Board or Unit
Step 1
Step 2
Creating and transferring a new protocol
Newly created protocol
CPU Unit
Sequence
number
I/O memory
Sequence No.
specification
I/O refreshing
Shared memory
Step 0
Messages
Serial Communications Board or Unit
General-purpose external device
RS232C or RS-422A/485
Step 1
Step 2
Command execution (SEND, RECV, SEND&RECV)