Serial Communications Instructions
3-24-2 PROTOCOL MACRO: PMCR(260)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
974
Calls and executes a communications sequence registered in a Serial Com-
munications Board (CS Series only) or Serial Communications Unit.
PMCR(260)
C1
C2
S
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program
areas
OK
C1: Control Word 1 and C2: Control Word 2
The contents of the two control words are shown below.
15
12
C1
Communications port number (logical port)
0 to 7 hex (F hex: Automatic allocation)
15
C2
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
C1: Control word 1
C2: Control word 2
S: First send word
R: First receive word
Step program
areas
OK
OK
11
8
7
4
3
0
Unit address of communications partner
CS1 CPU Bus Unit: Unit number + 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)
0
Communications sequence number
0000 to 03E7 hex (000 to 999 decimal)
Section 3-24
PMCR(260)
@PMCR(260)
Not supported.
Subroutines
Interrupt tasks
OK
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?
Questions and answers