![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301014.webp)
974
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 1032 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.
If there is no operand specified in the execution sequence, such as a direct or
linked word, specify the constant #0000 for S. If a word address or register is
PMCR(260)
C1
C2
S
R
C1: Control word 1
C2: Control word 2
S: First send word
R: First receive word
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
15
8
0
11
3
7
4
12
C1
15
0
C2
Unit address of communications partner
CS1 CPU Bus Unit: Unit 10 hex
Inner Board: E1 hex (CS Series only)
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)
Communications sequence number
0000 to 03E7 hex (000 to 999 decimal)
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...