![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681014.webp)
975
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 1033 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)
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...