Pmcr - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

PMCR

Instruction
PROTOCOL MACRO
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
C1
Control word 1
C2
Control word 2
S
First send word
R
First receive word
C1: Control word 1
15
12
11
C1
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)
Note Automatic allocation can only be used on CJ2 CPU Units and Lot No. 020601 (manufactured June 1, 2002)
or later of CS1-H, CJ1-H, CJ1M, and CS1D (for Single CPU System) CPU Units.
C2: Control word 2
15
C2
828
Mnemonic
Variations
PMCR
@PMCR
Block program areas
Step program areas
OK
OK
Description
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)
0
Communications sequence number
0000 to 03E7 hex (000 to 999 decimal)
Function
code
Calls and executes a communications sequence
260
registered in a Serial Communications Board
(CS Series only) or Serial Communications Unit.
PMCR
PMCR(260)
C1: Control word 1
C1
C2: Control word 2
C2
S
S: First send word
R
R: First receive word
Subroutines
Interrupt tasks
OK
Data type
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
transition programs
OK
OK
Size
UINT
1
UINT
1
UINT
Variable
UINT
Variable

Advertisement

Table of Contents
loading

Table of Contents