![Omron CJ1G-CPUxx Instructions Manual Download Page 865](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491865.webp)
844
Serial Communications Instructions
Section 3-24
3-24-2 PROTOCOL MACRO: PMCR(260)
Purpose
Calls and executes a communications sequence registered in a Serial Com-
munications Board (CS Series only) or Serial Communications Unit.
Ladder Symbol
Variations
Applicable Program Areas
Operands
C1: Control Word 1 and C2: Control Word 2
The contents of the two control words are shown below.
Note Refer to
Automatic Allocation of Communications Ports on page 872 for
details on using automatic allocation of the communications port number (log-
ical port).
S: First Send Word and Send Area
The first word of the words required to send data is specified. S contains the
number of words to be sent +1 (i.e., including the S word) and send data
starts in S+1. Between 0000 and 00FA hex (0 and 250 decimal) words can be
sent.
C1: Control word 1
C2: Control word 2
S: First send word
R: First receive word
PMCR(260)
C1
C2
S
R
Variations
Executed Each Cycle for ON Condition
PMCR(260)
Executed Once for Upward Differentiation
@PMCR(260)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program
areas
Step program
areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Communications sequence number
0000 to 03E7 hex (000 to 999 decimal)
Serial port number (physical port)
1 to 2 hex (1 hex: Port 1, 2 hex: Port 2)
Communications port number (logical port)
0 to 7 hex (F hex: Automatic allocation)
Unit address of communications partner
CS1 CPU Bus Unit: Unit 10 hex
Inner Board: E1 hex (CS Series only)
15
8
0
11
3
7
4
12
C1
15
0
C2
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...