Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 889

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
PMCR2
Instruction
PROTOCOL MACRO 2
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
C1
Control word 1
C2
Control word 2
S
Control word 1
R
First receive word
I
First communications information word
C: Control word 1
15
12 11
8
7
C1
0 0 0 0
Always 0.
Serial port number
0: Do not use.
1: Port 1
2: Port 2
3: Reserved.
4: Reserved.
Send Area Specification
S: First send word
S
n
852
Mnemonic
Variations
PMCR2
@PMCR2
PMCR2(264)
Block program areas
Step program areas
OK
OK
Description
0
Unit address of communications partner
CPU Bus Unit: 10 to 1F hex
Set the number of send
words that will be used.
0 to 250 decimal
(0000 to 00FA hex)
n words of data must be
prepared in advance.
Function
code
Calls and executes a communications sequence
264
(protocol data) registered in a Serial
Communications Unit.
PMCR2
C1: Control word 1
C1
C2: Control word 2
C2
S: First send word
S
R: First receive word
R
I: First communications information word
I
Subroutines
OK
C: Control word 2
15
C2
If there is no operand specified in the execution sequence,
such as a direct or linked word, specify the constant 0000
hex for S. If a word address or register is specified, the
data in the word or register must always be 0000 hex. An
error will occur and the Error Flag will turn ON if any other
constant or a word address is given and PMCR2(264) will
not be executed.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Data type
Size
WORD
1
WORD
1
INT
Variable
WORD
Variable
WORD
2
0
Communications sequence number
0000 to 03E7 hex (000 to 999 decimal)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents