
339
5-27-4
PROTOCOL MACRO – PMCR(––)
C:
Control word
IR, SR, AR, DM, HR, TC, LR, #
S
: First output word
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
D:
First input word
IR, SR, AR, DM, HR, TC, LR
PMCR(––)
C
S
D
@PMCR(––)
C
S
D
Limitations
C must be BCD from #1000 to #2999.
DM 6144 through DM 6655 cannot be used for D.
Description
When the execution condition is OFF, PMCR(––) is not executed. When the
execution condition is ON, PMCR(––) calls and executes the specified commu-
nications sequence (protocol data) that has been registered in the Communica-
tions Board installed in the PC.
The send/receive message for the communications sequence registered in the
Communications Board must be set to read or write word data when DM isn’t
specified for S and D. Use a constant when it isn’t necessary to set a word for the
first output word.
When the communications sequence doesn’t require an input word, specify a
word address anyway. Data won’t be stored in the specified word and the con-
tents of the word will be retained. When the communications sequence does re-
quire input words, specify words that aren’t used for any other purpose in the
program.
The input and output words (S and D) can also be set in the communications
sequence registered in the Communications Board.
Note
Refer to the
Communications Board Operation Manual
for details on the Com-
munications Boards and the
Protocol Software Operation Manual
for details on
communications sequences.
Control Word
The first digit of the control word (1 or 2) specifies the Communications Board
port and the last three digits specify the communications sequence (000 to 999),
as shown in the following diagram.
C:
Digits 2 to 4: Communications sequence number
(000 to 999)
Digit 1: Port specifier
1: Communications port A
2: Communications port B
Flags
ER:
Indirectly addressed DM word is non-existent. (Content of
DM word is
not BCD, or the DM area boundary has been exceeded.)
D is not BCD or DM 6144 through DM 6655 has been used for D.
Another PMCR(––) instruction was already in progress when the
instruction was executed.
The port specifier was not 1 or 2.
Serial Communications Instructions
Section 5-27
Summary of Contents for SYSMAC C200HE
Page 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Page 2: ......
Page 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 380: ......
Page 410: ......
Page 438: ......
Page 464: ......
Page 474: ......
Page 522: ......
Page 538: ......
Page 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 554: ......
Page 560: ......
Page 584: ......
Page 585: ......
Page 586: ...W303 E1 09 ...